|
thanks.
I'm using the labels to draw vectors over a map. I used to to overlay building footprints on a jpeg within a picturebox. I used labels instead of drawing polygons (graphics.drawing) because i need to interact with the footprints - they must be clickable.
I guess i have to turn to some primitive datatype's because .net's Integers are too heavy.
Anyboy know how to use DirectX 9sdk? for vb.net.
thanks again.
Marvin N. Guerrero
- Taje Kage_bunshinNunJutsU
|
|
|
|
|
Guerven wrote: I guess i have to turn to some primitive datatype's because .net's Integers are too heavy.
WHAT?? .NET Integer's are 32-bit (processor width), just like any other integer. What are you talking about?????????????????????????
Guerven wrote: I'm using the labels to draw vectors over a map.
Not a good idea. You'd be much better off tracking the points you need to draw in something, like an array of objects, then drawing them with the Graphics primitives. These objects can be controls of their own, inherit from Control or UserControl. You can still make them "interactable" if you supply the OnClick code.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
how to use paramarray in vb.net. Pls tell me good site for vb.net only
himanshu
|
|
|
|
|
It's usually used to pass an array of parameters to a Sub or Function. It's useful when you're method doesn't know the number of parameters will vary from call to call. You can find more information here[^] on MSDN.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
what is paramArray.how to use in vb.net.pls give me good site to find everything (vb.net only)
himanshu
|
|
|
|
|
Hello Friends,
I am currently developing one application using VB.NET & Access + Oracle as a databases, and I want to install it on client machine. Since, we can not say for sure, whether .NET Framework is already installed on clients machine. I don't want my client to install it manually/separately, instead the framework (if required) should get installed automatically. I want to make setup of my application in such a way that it will determine immidiately that .NET Framework should be installed before proceding to its own installation. (and obviously it shoud install it... )
Can anyone please suggest me how i should go about it???
Thannks in advance....
|
|
|
|
|
|
Hey Kalyan,
Thanks a lot.....
You have helped me exactly when I wanted....
Thanx once again....
Regards,
Rohan...
|
|
|
|
|
I have a textbox and a date time picker.
the text box is used to display the value choosen from the date time picker.
When the focus is on the textbox, if the user click the ENTER key, I want that the date time picker open, and the focus is on it so the user, by using the ARROW keys, can choose a date.
I know how to test the key pressed by the user, this is my code:
Private Sub dtpprofdate_DropDown(ByVal sender As Object, ByVal e As System.EventArgs) Handles dtpprofdate.DropDown
Me.dtpprofdate.DropDownAlign = LeftRightAlignment.Right
Me.dtpprofdate.Focus()
End Sub
Private Sub txtdateproforma_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtdateproforma.KeyPress
If KeyAscii(e) = 13 Then
dtpprofdate_DropDown(sender, e)
End If
End Sub
IF the key is an ENTER key (KeyAscii(e) function make the checking)the DropDown event of the date time picker is fired.
But the problem is that the date time picker is not opening??
Any help
|
|
|
|
|
Hi
Does anyone have a document or URL that describes how to make a trial version of .Net application?
Thanks
|
|
|
|
|
There's all sorts of different ways. The way I did it was to put a registration key in my config file. If it's not there, then the app is the demo version.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I think that I cam help u in this.
you can write code that count how many time you open application
-----
Imports Microsoft.Win32
dim count as int
dim fcount as int
dim tra as int= //the number of opening appl u specify it
Dim MainKey As RegistryKey = Registry.CurrentUser.OpenSubKey("Software", True)
Dim MyKey As RegistryKey = MainKey.CreateSubKey("fcount")
========
count = MyKey.GetValue("fcount")
====code in form load
fcount++
if tra==fcount
Me.colse
-----------------------------
u may arrange this code to work will
AMR-CIS
|
|
|
|
|
Hi, question is it possible to have a left mouseclick on any of those 2 menus instead of a right mouseclick. If so be kind enough to show me. Thank you
|
|
|
|
|
You mean right mouseclick instead of left... I have tried this many times, if u get it right, please contact me!
|
|
|
|
|
I don't think you can. It also goes against the consistant use of the mouse buttons and menus. See the Windows User Interface Guidelines on MSDN.
Selection is done with the left mouse button, Properties with the right. Why would you want to change this in a single app?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi , let me put u in context, i have this button that fire the contextMenu on which are 8 commands. When u say Selection is done with the left mouseclick button, then How come i have to use the rightclick button of the mouse to triger this button and then the Contextmenus can be operated trough the leftclick mousebutton, i do not understand what u mean by Properties are done with the right. Could u explain.
|
|
|
|
|
Can you be more specific? Including some well formatted code of what you are doing (e.g. the button's Click() event) will help us understand the problem much better.
...Steve
|
|
|
|
|
The general use of the left mouse button is to Select items (single-click), like selecting a file in Explorer, and Execute, Open or Act On those items (double-click). The right mouse button is normally used to get to the Properties page or Context Menu of an item (single-click). The right mouse button doesn't have a standard use for double-click.
Why are you popping up a context menu using a button? This is normally done by right-clicking the object that you want the context menu to appear on. That's the meaning of "context". The menu is configured depending on object that is right-clicked on. The object supplies the context, or the list of things that can be done to that object.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi
I want to generate a certificate signing request programatically via VB.NET . I'm generating the key pair using the RSA CSP and i want to generate the coressponding CSR.
Is it possible to do this in VB.NET. if so can someone pls post the code here.
Thanks a LOT
-Raj
|
|
|
|
|
Hi alls,
I have one problem with changing my interfaces from vb6 controls into xp interfaces.
could you alls help me pleasesssssssssss?
sokheng
|
|
|
|
|
AFAIK, it's not supported. VB6 doesn't have the ability to switch to the XP style controls.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
It can be done but... there are some 'gotchas' of which you must be aware.
I did this for an old application I was updating in VB6. I had to back out the changes though since we were using some third-party controls which completely stuffed up when we used the manifest file method of providing XP styles. Pity, our code was ok - the third party controls limited our use of XP styles.
Anyway, have a look here[^]
or Google "VB6 manifest".
By the way, this isn't supported by Microsoft in VB6. It just happens to work.
...Steve
|
|
|
|
|
first of all thanks for your convenience..
hmmm...I have search from google and I got the infor "rename the exe file into exe.manifest.."
But while I apply this soloution into my project it still doens't work.
And how can i contact third party ?
Suppose I cannot with vb6, which version of vb that allow me to do this.
Thanks..inadvanced.
Sokheng
|
|
|
|
|
Anonymous wrote: hmmm...I have search from google and I got the infor "rename the exe file into exe.manifest.."
But while I apply this soloution into my project it still doens't work.
You do not rename your EXE file but create a separate file named [yourEXEFileName].EXE.MANIFEST . This file must be placed into the same directory as your EXE file.
Are you trying to get the XP styles in the VB6 IDE? If so there is a special procedure to do this but it is not supported by Microsoft and I recommend against it.
Anonymous wrote: And how can i contact third party ?
What third party? I presume you'd find an email address and email them.
Anonymous wrote: Suppose I cannot with vb6, which version of vb that allow me to do this.
Have a more careful read of the original web article to which I pointed you. It can be done in VB6. I cannot do this for you or take you through the steps as I do not have the time to dedicate to this task.
If you have access to VB.NET then native XP styles are supported out of the box.
...Steve
|
|
|
|
|
How am I goint to read the RSA public key?
For lCnt = 2 To 129 Step 1
'convert data to Character
decArray1 = decArray1 & Chr(aryResult(lCnt))
Counter = Counter + 1
Next lCnt
sResult = Base64Encode(decArray)
sResult1 = Base64Encode(decArray1)
i try this command, but when i want to request for certificate, it return error.
izyani
|
|
|
|