| Help! Visual SourceSafe 6.0 setup and running problem |
|
 |
Index ‹ Visual Studio ‹ Visual Basic
|
- Previous
- 1
- Visual Basic [VB] >> Unable to access c# code from VB.NET in the same solutionThis is a little puzzling,
I have a solution (SolutionA)
and have about 14 Projects in it that are VB.NET
I have to use some code which is C# and thought I could just add a reference
and use that to call the methods in the file. Seeems not to be the case, I
have added the reference but the project's classes or project reference does
not show up on the autolist that imports gives.
essentially the solution doesn't see the csharp class.
any ideas?
- 2
- 3
- Visual Basic >> API calls and &H1, &H2, &H4, &H8, ..., &H10, ..., H40000, ....Okay, I came into VB without *ever* learning about the hexadecimal notation.
What do the following mean and what decimal numbers do they translate to?
&H10 (is this equal to 16?)
&H400 (is this equal to 256?)
If they are, why do I use these in API calls in lieu of 16 and 256?
Thank you ever so much!
--
Joe
VBA Automation/VB/C++/Web and DB development
- 4
- MFC >> owner of teh serial port handleHi, experts....
I need to know the application name that open a serial port (e.g. com1). My
goal is to say to the user to close the application befora run mine
Any ideas ?
Thanks in advance
- 5
- VB Scripts >> getting remote time from vbscriptHi all.
I would like to get the time on a remote Windows host from vbscript.
I would prefer, if possible, to avoid using the NET TIME command.
I tried the LocalDateTime method provided by WMI, but that requires
administrative rights on the remote host, which is not an option for
me.
Does anyone know another way to retrieve the time remotely without
running another executable like net.exe?
Thanks,
John
- 6
- Visual Basic [VB] >> Class controling form settingsI am wondering if it is possible to make something like the following work:
Public Class myTestSettings
Public Property onTop() As Boolean
Get
Return Form1.CheckBox1.Checked
End Get
Set(ByVal Value As Boolean)
Form1.CheckBox1.Checked = Value
End Set
End Property
End Class
Second question: if it is possible, is it advisable?
I am wanting to serialize this information to an XML file. I'm exploring
this as a possibly better way to accomplish this.
Thanks in advance,
Matthew
- 7
- MFC >> Tooltip causes an ASSERT() in a child dialog boxHello experts,
I already posted about my problem a couple of days ago, but it's not
solved yet and I have some more details about it.
Using MS VC 6.0 and Vista.
I create a CTabCtrl control in a dialog box. For each tab, a child
dialog box contains a bunch of controls (CEdit, CComboBox...). I can
display tooltips for each control, no problem.
The problem is that when the cursor (I mean the mouse) leaves a
control, if it enters the tooltip area, I get an ASSERT() warning:
In WinCore.cpp
void CWnd::AssertValid() const
{
...
// should be a normal window
ASSERT(::IsWindow(m_hWnd));
...
}
This occurs only when the dialog boxes displayed in the tabs are CHILD
dialog boxes. If I choose "Overlapped" or "Popup", it works (but I
need a child dialog box).
What should I do to avoid this problem?
TXS
Phil
- 8
- MFC >> newbie quesion on missing clw fiileHi,
I downloaded several VC++ projects from Internet, I am able to open them
using VC++ 6.0, but when I tried to open class wizard, I got error message
that the clw file is missing, do I want to build it from the source files.
When I click yes, I saw all the .cpp, .h ... My quesion is, which files
should I choose to build the clw file?
TIA
- 9
- 10
- MFC >> Multithreading, Converting a Byte Array to a Hex String, Simultaneously..So.. my problema: I'm reading in a massive amount of data into a BYTE
array buffer (size 64096 bytes, and about 1MB every 5 seconds) and
writing to a file. I want to grab the info, translate it into hex, and
spit it back out on the screen to display what I am receiving. So far
I have a thread doing the receiving and writing to file, and another
thread which is supposed to be translating and spitting out to a
multiline edit box.
This is probably not a good way to do it, and I was wondering if anyone
knew a better way?
Thx,
kefkastudio
- 11
- Visual Basic >> Print preview and print for picture controlI have a form that acts as a container for a picture control. I am
drawing pictures in the picture control, and would like to add print
preview and print functionality - but I don't know how to do this.
i would be grateful if someone could provide a code snippet that shows
how I may ;
1). print preview an image displayed in a picture control
2). print the image displayed in the picture control
- 12
- 13
- Visual Basic [VB] >> Using VB 6.0 Interface in vb.net causes a problemHi,
I have an interface in vb 6.0. It has a property set member, which takes a
parameter by reference. When I try to implement this interface in my vb.net
project it gives me an error saying that "cannot implement property set
because there is no matching property on interface". I think .NET does not
allow parameter to be passed ByRef in property statements.
here is my property set statement in vb 6.0 interface called IName
Property Set Name(ByRef objName as object)
End Property
VB.NET code looks like this
Public WriteOnly Property Name() as System.IntPtr implements IName.Name
Set (ByVal value as System.IntPtr)
end set
End Property
There is an underline below IName.Name. When I put my mouse over it then it
says "Cannot implement IName.Name because there is no matching property on
Interface IName". I tried changing the System.IntPtr to System.Object but it
gives the same result. I cannot change vb 6.0 interface to accept parameter
ByVal instead of ByRef because then, I have to change all other existing
components that already are implementing this interface.
Your help is appreciated.
Thanks
- 14
- VB Scripts >> Variables from one script to anotherHi...
I posted this before, but probably didn't explain my self well...
I need to have a script that declares and sets a value for some vb
variables, and want to have the value in these variables available in other
script...
Here is what I do :
I have a master script that calls other scripts...
1st script called from master script, it declares and sets values for some
variables ...
ex : Public appver1
appver1 = "V9_4_2"
2nd script called from master script would use the variables set in 1st
script to do execute actions with it...
ex : WshEnv("Var1") = appver1
How can this be done ...
The value is "appver1" is not necessary outside of the vb environment...
Reason is that 1st script will be modified by a lot of people, but don't
want them to modify other script...
Thanks very much !!!
--
--
Houman Yahyaei ( CCNA, MCSE Win 2000/NT 4.0, MCT )
IT Training and Consulting
www.formationhy.com
Houman@formationhy.com
- 15
- Visual Basic >> PDW Msg "...already been added..."When packaging my project, I am asked to "choose the folder where your
package will be assembled." I click the "New Folder" icon and make a folder
and select next. There is a processing delay (only 550MHz machine) and the
drive rattles, then I am prompted with "Afile with this name has already
been added to the list of files." You only have the choice to click OK.
Does anyone know what causes this message?
Regards,
Jim
|
| Author |
Message |
BeerBong

|
Posted: Mon Aug 06 12:58:39 CDT 2007 |
Top |
Visual Basic >> Help! Visual SourceSafe 6.0 setup and running problem
I was having problems connecting to a remote VSS server (DOS path
error invalid), so I tried a netsetup from the remote server. Ever
since then, I can run VSS on my local machine. I click on the
SSEXP.exe on the local machine and nothing happens. Any ideas?
Visual Studio234
|
| |
|
| |
 |
Ralph

|
Posted: Mon Aug 06 12:58:39 CDT 2007 |
Top |
Visual Basic >> Help! Visual SourceSafe 6.0 setup and running problem
"Namgaw" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> I was having problems connecting to a remote VSS server (DOS path
> error invalid), so I tried a netsetup from the remote server. Ever
> since then, I can run VSS on my local machine. I click on the
> SSEXP.exe on the local machine and nothing happens. Any ideas?
>
Tough to say. Usually you get an error.
But the problem lies within the "srcsafe.ini" on either the client or
server.
Open them up and take a peek. If you follow the logic you will see something
goofy (a highly technical term. <g>)
Pay particular attention the the #INCLUDE statement.
-ralph
|
| |
|
| |
 |
Mark

|
Posted: Sun Aug 12 04:11:05 CDT 2007 |
Top |
Visual Basic >> Help! Visual SourceSafe 6.0 setup and running problem
The VSS 6.0 setup program is launched by a 16-bit application that doesn't
understand UNCs or long names. You need to copy the installation files to a
DOS 8.3 compatible directory on your local machine. You may swear under your
breath at the MS programming team responsible as a means of alleviating your
annoyance.
"Namgaw" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
>I was having problems connecting to a remote VSS server (DOS path
> error invalid), so I tried a netsetup from the remote server. Ever
> since then, I can run VSS on my local machine. I click on the
> SSEXP.exe on the local machine and nothing happens. Any ideas?
>
|
| |
|
| |
 |
| |
 |
Index ‹ Visual Studio ‹ Visual Basic |
- Next
- 1
- 2
- Visual Basic >> Find existence of an element in an array of controlsHello, I'm using an array of control created at run-time in vb6.
I would like to know how can I test the existence of a certain
element.
I'm trying with an exact index, but not all elements exists.
For instance we can supose we have only the elements with index: 0, 5,
11, 112.
I would like to make this test without rise a managed error.
Thanks in advance,
Qwerty
- 3
- 4
- VB Scripts >> FileOpenHi@all,
sorry but i'am new at VBS. Ich have make a HTML-Page with VBScript and now i
try to read and write a text file but how,
[script]
Dim TextLine
FileOpen(1, Projektverzeichnis+"Inhalt\Help.htm", OpenMode.Input) ' Open
file for reading.
While Not EOF(1)
TextLine = LineInput(1) ' Read next line.
Debug.WriteLine(Seek(1)) ' Position of next line.
End While
FileClose(1)
[/script]
will not work. Thx for any help,
cya Thommy
Sorry about my English
- 5
- Visual Basic [VB] >> binarywriter.write loop is causing 100% cpuHi all!
I have some files that are basically a TIF with an ASCII header.
I wrote an app that reads in the file, pulls some values from the
header and writes out everything after the header as a new file.
I'm using binaryreader and binarywriter.
Everything functions fine, but the following loop causes 100% CPU
usage and I can't figure out how to get around this.
Here is a code sample that lists the declarations and the loop that's
causing the high CPU usage:
----------------------
Dim fsIn As FileStream = New FileStream(filename,
FileMode.OpenOrCreate)
Dim fsOut As FileStream = New FileStream(fsIn.Name & ".tif",
FileMode.Create)
Dim binWriter As BinaryWriter
Dim binReader As BinaryReader = New BinaryReader(fsIn)
binWriter = New BinaryWriter(fsOut)
Do While binReader.BaseStream.Position <
binReader.BaseStream.Length
binWriter.Write(binReader.ReadByte)
Loop
binWriter.Flush()
binWriter.Close()
binReader.Close()
binReader = Nothing
fsIn.Close()
fsIn = Nothing
fsOut.Close()
fsOut = Nothing
----------------------
Obviously I left some stuff out, but that's the part that's using the
CPU.
The binReader.BaseStream.Position picks up where the loop to find the
end of the header left off.
If anyone has any suggestions or tips as to what's going on and / or
how I can get around it I'd really appreciate it!
Thanks!
- 6
- MFC >> thread safetyIs it (multithread) safe to access static member (another class pointer)
of some class (from multiple threads)?
- 7
- Mcse >> Re: Help with 70-290 please"Mike T." <NtOrSoPzAzMo@arcor.de> wrote in message
news:etO%23cy65FHA.1000@tk2msftngp13.phx.gbl...
>
>>>
>>> Wow...that IS the middle of BFN. How did you end up there?
>>>
>> Army
>
> I'm the exception to the rule..I married a German and moved here. Most
of
> the Americans I've met here (outside of tourists, obviously) are
military
> peole who ended up staying.
>
Good for you! I loved Germany. It is beautiful, clean and the Autobahn
is
the most wonderful driving experience. I became addicted to mineral
water
there. Oh and mayonnaise with french fries--fabulous!
- 8
- Visual Basic [VB] >> xlSheet.get_range not thereI'm trying to use the get_range method on an Excel sheet, but when I type
'xlSheet.' I don't see the method in the drop-down. I see Cells, Name, etc,
but I don't see any method starting with a "g". This is my code:
Dim workbook As Excel.Workbook =
workbooks.Add(Excel.XlWBATemplate.xlWBATWorksheet)
Dim xlSheet As Excel.Worksheet = CType(workbook.ActiveSheet, Excel.Worksheet)
xlSheet.get_Range(.......) 'I CAN'T DO THIS
I do have "get_range" available in my C# project, but not VB project.
According to documentation it should be available for VB as well. I don't
know what I'm doing wrong.
I would appreciate your help. Thank you!
- 9
- Visual Basic >> Storing/Loading queriesHi all,
In my VB application, I have some listviews and some
comboboxes. The code forms a query based on the values
selected in these components and queries a database.
Now, I want to give the user the facility of saving and
loading queries, that is, when a user selects a stored
query the corresponding values should be shown selected in
the list boxes and comboboxes.
Could anyone give me an idea about how to go about it, as
to how should I store these queries (in files or in the
databse itself) and how to populate the components based
on these queries, when they are loaded? Or where could I
find a sample of code doing similar stuff.
Pranav
- 10
- VB Scripts >> ScriptControl and dataenvCould you help me ?
I can run these code thru VB6.0 + sp, but I can't run it by ScriptControl
Due
"DataEnv.rsCmdFunctionString("MyString").Value" not responsor(ScriptControl
should
get the DataEnv.rsCmdFunctionString.RecordCount),How Can I do now ?
Thks...
...DataEnv.rsCmdFunctionString.Filter.....
FrmMission.ComboUserString.Clear
If DataEnv.rsCmdFunctionString.RecordCount > 0 Then
Do While not DataEnv.rsCmdFunctionString.EOF
MsgBox "RecordCount>0" & DataEnv.rsCmdFunctionString.RecordCount
FrmMission.ComboUserString.AddItem
DataEnv.rsCmdFunctionString("MyString").Value 'SC can't obtain the value.
' MsgBox DataEnv.rsCmdFunctionString("MyString").Value
FrmMission.ComboUserString.Refresh
DataEnv.rsCmdFunctionString.MoveNext
Loop
End If
- 11
- Visual Basic >> How to move cursor position by code ?Hi all
Is that possible to move cursor position by code inside picture box.
I have set picturebox.scale (0,1000)-(1000,0)
How do I move cursor Automatic by code
For eg. I have to set cursor in 100,500 in picturebox
Thanks
Amrit
- 12
- 13
- Visual Basic >> VB6 App Wont run on XPI have a VB6 app that works fine on several Win98 machines, but won't run on
WinXP. When starting, I get RunTime error 6 (Overflow). I placed a Msgbox as
the first line of the form_load event and I get the run time error before I
get my msgbox.
Not sure how to debug this. Any thoughts?
- 14
- Visual Studio C++ >> good code to return const reference to function local object?Hello everyone,
1. Returning non-const reference to function local object is not correct.
But is it correct to return const reference to function local object?
2. If in (1), it is correct to return const reference to function local
object, the process is a new temporary object is created (based on the
function local object) and the const reference is binded to the temporary
object, and the life time of the temporary object is extended to the life
time of const reference?
Or no need to create such a temporary object, just let the const reference
binded to the function local object itself?
thanks in advance,
George
- 15
- Visual Basic >> send parameters to an oracle reportHello,
I want to call an oracle report from VB6. I have added the
OracleReportingControl and set everything. I can only set one value for the
UserDefinedparameters attribute.
How can I set all the parameters that I have in my Oracle Report from VB6?
Thank you,
Moji
|
|
|