|
I'm assuming you're talking about VB6 or VBA. Yes, all strings in VB6 are BSTR's, which supports Unicode.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I need to ping a system and need check the result (Reply from or Request Time Out)
so i used CreateObject("WScript.Shell")
but this does not run on Win 2000
This is the error i am getting
"System.MissingMemberException: Public member 'Exec' on type 'IWshShell2' not found. at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)"
I need a function which can run on any win OS.
Need help urgently
the function i am using
Dim strComputer As String = IP
Dim objShell = CreateObject("WScript.Shell")
Dim objScriptExec = objShell.Exec("ping -n 2 -w 100 " & strComputer)
Dim strPingResults = LCase(objScriptExec.StdOut.ReadAll)
If InStr(strPingResults, "reply from") Then
else
end if
-- modified at 6:50 Friday 16th June, 2006
|
|
|
|
|
Why are you using Windows Scripting when you can do the exact same thing using the .NET Frameworks Process[^] class?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
objective: to draw a flow chart by drag and drop buttons or anything. but the flow chart must be created only by drag and drop. Does anyone know how to do it..if you have any examples please send them.
KIRAN PINJARLA
|
|
|
|
|
:Sniff: :Sniff:
I detect the scent of homework in this request for pre-written code.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi everyone. Please assist me. i wish to view my numeric data from a mschart. am using msaccess for database where i have a table know as dbscore. the name of the table is tblscore, with two fields, name and achievements. under achievement against each name are numeric value that i wish to view using MSChart. am using ADODC connector. how do i go about it + its coding?
Still learning
|
|
|
|
|
|
I have problem with mdiChild. Question
In mdiCHild i used MenuStrip with some item, when i run it the items go to mdiparent but Menustrip still in mdichild.
detail
www.khmerfriend.com/ViewKWFullInterface
................
|
|
|
|
|
|
In VB6 to view values on the Debug window all you done was debug then the variable.
How do you do this on vb.net?
I have tried Debug.WriteLine("Number is: ") but this does not appear in the option debug\windows\immediate
I must be doing something stupid.
Thanks in advance.
|
|
|
|
|
directred wrote: I have tried Debug.WriteLine("Number is: ") but this does not appear in the option debug\windows\immediate
According to your code, you didn't concatenate any variable. It should be:
Debug.WriteLine("Number is: " & VariableName)
|
|
|
|
|
use
Debug.Print("My String to print on the immediate window")
|
|
|
|
|
This seem to be a function in vb6?
|
|
|
|
|
|
Ok, thank. Now i understand.
|
|
|
|
|
Output from the Debug class will show up in the Output window.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I want to receive UDP messages broadcasted by my server,how do I go about it.
I tried to create one socket with protocol as UDP and addes in formload following commends
Winsock1.LocalPort = 3001
Winsock1.Bind 3001
where 3001 is the port on which server is sending the data.
but I am not able to receive anything
Please help
|
|
|
|
|
|
Hai,
I've a vb.net 2003 windows application which have connected with ms access database. Can we convert it into a vb 6.0 application? If so, how??
Any suggestions?? Thanks in advance....
-Priya
|
|
|
|
|
You would basically need to rewrite it - and I can't think of any reason why you would want to do that...
'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd
|
|
|
|
|
Yep, there is no conversion tool for this. Why on earth you would want to do this is beyond me.
Your basically throwing away your very nice set of hand and power tools and going back to making primitive objects by smashing your raw materials with rocks.
You have to start a new VB6 project and rewrite the entire project by hand!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
As other friends mentioned there is NO WAY to convert it back to vb6 and you MUST rewrite the project.
But (as long as you did not mention the reason WHY you need to convert it BACK to vb6) I can give you the idea (if it fits to what you need) to export your VB.NET project as a COM and use it in vb6. Remember that you still need .NET Framework Runtime to run your project.
|
|
|
|
|
hi all..
i have a question, how a want to make a splash screen?? can someone help me..
areon25
|
|
|
|
|
|
Add new module to your project ( create spalshform, mainform)
Code from Module
Public frmnew as new Form
Sub Main
frmnew = New splashform
frmnew.ShowDialog()
frmnew = New mainform
frmnew.ShowDialog()
End Sub
anymore
in splashform you must you control called Timer
Timer.Enabled=True
Event for timer
private Sub timer1_tick(...........)
Close
End Sub
In your probject properties use stard up form Sub Main
Regard
Socheat
................
|
|
|
|