|
In Win2K only local administrators can modify the Registry. Whoever installs the app will have to have admin priveleges, then after installing will have to set permissions for users manually. I'm sure there's an easier way, but I haven't found it.
|
|
|
|
|
I have a Ocx component .. how can I create a Array of this component ?
|
|
|
|
|
You just declare an array of the type of your OCX.
For instance :
Private m_MyActiveXArray(size_of_your_array) As MyOCXLib.MyActiveX
Jerome
|
|
|
|
|
Hi, I using a Ocx component to make Sockets UDP Conections
I need to pass any CONSTANT values to OCX to start conection ..
SOCK_STREAM .. etc ..
What Library I need to include ?? How can I do this Using VB .NET
Tks
|
|
|
|
|
You may just need to include the correct namespace for your project. Try adding System.Net.Sockets to gain access to socket methods and properties within your application directly.
Nick Parker
|
|
|
|
|
Does Anyone know what is the equivalent c++ command "continue" in VB?
|
|
|
|
|
There isn't one. Either restructure the logic inside the loop, or use a label and Goto.
--
David Wengier
Sonork ID: 100.14177 - Ch00k
|
|
|
|
|
How can I use sockets in VB ..
I am trying to use WinSock.ocx but appear the follow message when I try to put the component in the Frame
"You do not have a license to use this ActiveX Control"
I am using Visual Studio .net Beta Version
are there another free component that can I use to send UDP packages ?
|
|
|
|
|
If you are using .NET, then you should check out the .NET Framework for socket classes, rhater than using the OCX.
--
David Wengier
Sonork ID: 100.14177 - Ch00k
|
|
|
|
|
how can i change user interface in vb 6.0 . i want to give it a diffrent user interface ( look and feel ) . pls guide me if u can
Work Hard and Test your Luck
|
|
|
|
|
One method is to create pictures that can be used as the background pic of your forms. I recently used this for developing a software where the clients demanded a slight fancy look. Also instead of the VB buttons, I used image controls. The button movement was implemted using a combination of mousedown and mouse up events. For this you will need an up image and a down image of the button. BTW, I think bmp format is compulsory.
Smitha
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." - Dennis Ritchie.
|
|
|
|
|
1.use ocx control....
2. use api to draw, but it's so pain ...
|
|
|
|
|
Hi .. I am a Visual C++ programmer, I never write a program using VBasic, I am trying to use a ocx component, if I want to use this component I need to capture Events .. using C++ I use the follow code
BEGIN_EVENTSINK_MAP(CAVVCppDlg, CDialog)
ON_EVENT(CAVVCppDlg, IDC_VIDCAP1, 1 /* Frame */, OnFrameVidcap1, END_EVENTSINK_MAP()
The Events is captured and execute OnFrameVidCap1 Function
How can I do this VB 7 ??
|
|
|
|
|
in ocx controls u define one variable as event.
Eg.
Private Event myEvent 'where Event is the reserved word and u can also pass parameter and even create parameter list following the reserved word Event then u can raise this event in the code wherever u want by adding foll code
RaiseEvent myEvent
thats it
Good Luck Buddy
|
|
|
|
|
Does anyone know if it is possible to run a .dll as a service in Windows 2000? If so, can you give me some insight on how to do it?
Thanks!
Phil
|
|
|
|
|
I've read some time ago that you can acomplish that using svchost.exe, but I can't remember exactly how, sorry...
May this can help in some way...
Crivo
Automated Credit Assessment
|
|
|
|
|
I have got a textbox that I want to limit to numerical values.
How do I prevent the user from entering text?
I have set the DataFormat property to "Number", but that doesn't do it.
Cheers,
Fredrik
<right>Sonork ID: 100.11430:PhatBoy
'It is so much simpler to bury reality than it is to dispose of dreams.'
- Don Delillo, Americana
|
|
|
|
|
Hi..
Try this:
add an event handler to the KeyPress event of the text box:
<br />
Private Sub text1_KeyPress(KeyAscii As Integer)<br />
If Not (KeyAscii > 47 And KeyAscii < 59) Then<br />
KeyAscii = 0<br />
End If<br />
End Sub<br />
the code above checks the ascii code of the character and validates the range
and sets it to 0 if out of the range of numbers.
|
|
|
|
|
The Above given code does not work VB.NET so can u plz suggest me something else
|
|
|
|
|
Hi !
I'm using VB 6.0 and I would like to launch an Exe from my VB code. I also would like to get the returned value from the Exe.
Anyone knows how to do that ?
Thank you for your help !
Jerome
|
|
|
|
|
You know. I'm surprised that Nish hasn't jumped in and said to use ShellExecute(..)... I know it's C++ but if you just search at MSDN you'll probably find something.
"Isn't that the "write once, debug everywhere" language?" Tom Archer on Java...
|
|
|
|
|
u have to use Shell Function in order to execute an exe and u use Command Function in order to get the return value from and even pass value to the exe.
|
|
|
|
|
I am a student at the faculty of engineering,Cairo university, depsatment of electronics and electrical communications.
My graduation project involves the use of the Diffie-Hellman key agreement protocolusing visual basic.I hope someone can help me locate something that can do the mathematical operations needed for such an algorithm.
Thank you.
|
|
|
|
|
What kind of math calculations are required in that algorithm?
BTW, you can use DLLs that are created for both Visual Basic and C. I am sure that someone has written a math library in C that can help.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
I need exponentials for large numbers (160+ bits)
I found a dll called CypherMathWin32,but I can't get my hands on it.
|
|
|
|