|
Hi
nobody can do convert exe to source file.
AMR-CIS
|
|
|
|
|
How would I write a program and get a random number
|
|
|
|
|
Just Google "Random Numbers" and "VB.NET", you'll get tons of hits.
No random number is truly "random", and random number generation algorithms can vary from extremely simple to extremely complex, depending on how "random" you really need your numbers to be. I'm sure you'll find something that suits your needs.
|
|
|
|
|
Buy this book with Samples: "Numerical Recipes in C"
Its a coding bible.
Its available on line.
Scooter
|
|
|
|
|
Dim myRNG As New Random()
Dim newNumber As Integer = myRNG.Next(lowerBound, upperBound)
But I vaguely remember telling you this already.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Tooltip on a treenode is overlaying Treeview enties behind tooltip. The tooltip leaves behind a white shadow that overlays only the Treeview data behind it. It looks like the tooltip erases the pixels behind were it came up but only in the treeview. I searched MSDN and still am at a loss. Any help is appreciated. I use the refresh function to fix the treeview but I was curious what what causing it.
Andrew
Princeton, NJ
-- modified at 14:53 Friday 14th October, 2005
|
|
|
|
|
Is that any function can tokenize a string just like what C++ can do.
Thanks,
David
|
|
|
|
|
There is the String.Split() function that will split a string into an array based upon a separator character.
|
|
|
|
|
You have to remember that VB.NET and C# both use the .NET Framework - it is the .NET framework that provides this sort of functionality. Therefore, when it comes to the classes and methods that are available if C# can do something then so can VB.NET.
My: Blog | Photos
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious
|
|
|
|
|
Does anyone have a script that can prompt you for a user name and password to join a computer name to a domain? Thanks
|
|
|
|
|
Did you lookup the documentation on the JoinDomainOrWorkgroup[^] method? It can take optional parameters for username and password.
The sample I pointed you at already demonstrated this. Or are you asking how you would prompt for the username and password?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-- modified at 10:32 Friday 14th October, 2005
|
|
|
|
|
Yes,
That script was good, but I wanted to allow for any IT member with the appropriate permissions to add a computer name to the domain. So a username and password prompt would be great!
|
|
|
|
|
Either code your script to parse command line arguments[^] or use an InputBox[^]. Be warned(!) Anything you type for a command line argument or into an InputBox appears as clear text! There is no PasswordInputBox for VBScript without using a 3rd party component that must be installed.
Another method would be to have the script create it's own web page and accept input using HTML controls, which DOES have a password input box.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Where can I find the control where I can input an IP address like the ones that can be found when you are configuring network connection in windows? I really need to know, thanx
|
|
|
|
|
|
It doesn't have to be in .NET because I'm using VB6 only.
Based on the link that you replied to me, I got the idea how the creator create the IP Address control box. Thanx
|
|
|
|
|
hi guys !!
need help from u guys..
my company have a big Local area network..
i m developing an application which ping all the IP's and cahck that they are working or not .
i also want to retrive the MAC address of those IP's. is there ant way to retrive the MAC address programatically by specifying the IP address
abhinav
|
|
|
|
|
I could be wrong here, but I don't think you can do that. If you try to get the MAC address of a machine on the other side of a router, using just it's IP address, you will be getting the MAC address of the near-side NIC on the router, not the destination PC.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
may be he is right,,,,but i have a contridition but sniffer can get MAC Adderss! but do know how but what i say is thay is a way to get it too..try search with the key word "sniffer" -- this is what i can say hope it may help u!
|
|
|
|
|
thanx for ur interest dave but i think
i was not able to make u understand what i m asking.
all the machines are on LAN and no router is between them as its our internal network.
now can u help me to solve this
abhinav
|
|
|
|
|
Actually, it's easier than I thought. Win32 has a built in function for doing just what you want, called SendArp. You can find a C# example here[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I show the client a message via messagebox.
But message is not shown as formatted.
For example
Do you want to delete Record?
ID : 3
NAME : Angel Koverk
CLASS : 4
I like it will shown as
Do you want to delete Record?
ID____: 3
NAME_: Angel Koverk
CLASS_: 4
how can i do?
-- modified at 6:31 Friday 14th October, 2005
|
|
|
|
|
Have to tried inserting tab characters between the field name and the value?
Dim myText As String = _
"ID" + ControlChars.Tab + ": " + myID + _
"Name" + ControlChars.Tab + ": " + myName + _
"Class" + ControlChars.Tab + ": " + myClassID
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hi all,
iam new to vbscript..
with using microsoft script control,
how can we write vbscript for such playing and recording?
bestregards,
tirucapricorn...
|
|
|
|
|
tirucapricorn wrote: how can we write vbscript for such playing and recording?
Playing and Recording what?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|