|
It's the same in 2005, if you don't see the option, right click and select the standard menu, it's in there./
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
If it doesn show in the "Standard" toolbar, you can go to the Tools menu, then Options to get to VS's config options. Find "Projects and Solutions" in the tree on left and click on it. In the right side, look for "Show advanced build configurations" and enable its checkbox.
|
|
|
|
|
Hi all...i'm a newbie regarding vb.net....i only learned for few hours...
I wanna ask about performing a a certain command when a key is pressed..
for example
while "y" key is pressed
do ( so and so and so)
when "y" key is not pressed any more
do (x y z)
I need this for my robot project; i'm building a robot that will be controlled with the parallel port....i want to control the robot by pressing certain keys (something like a video game)..i was able to output to the parallel port...and i've learned about the keypress thing, i set the keypresspreview in form1 properties to "true" but forgot to take a note about the other stuff i should do and now i'm lost
thanks
|
|
|
|
|
The key press event is it, it will fire when the control has focus.
There are also key up and key down events, they may be more useful, from the sound of it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
You should add some code in Keypress Event of Form
to trap key pressed
GoodID
|
|
|
|
|
Hi,
I want to know wt is the diffrence between Active reports and Crystal reports in vb 6.0 and is active reports are suuported by .net 2.0 framework.
Pls reply asap.
Thanks.
GIRISH
|
|
|
|
|
|
Hi
i was make a report using crystal report
and connect it to Oracle Database
the problem is that
the Oracle Adapter ge tthe data correctly
but the report dose not define the arabic language
its appear like this ?????
how i can solve this ?
|
|
|
|
|
hi,
i think either font is not installed on your system or you does not change the font of fields(which relete to arabic language).If font is installed on your system, then on report select field which is related to arabic language and then changes its font from properties window.
Hope this helps
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
thanks a lot
the arabic language is install in my system
so i will try to change the font of field .
dose it make diferent if you know that i was use .NET 2005 ?
|
|
|
|
|
dose it make diferent if you know that i was use .NET 2005 ?
i dont understand what do u want to asking ?
any way, what is the result after changes the font?
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
i mean is there different
in dealing with this between .NET 2003 and .NET2005 ?
and thank you
it is work
|
|
|
|
|
hi khaleel,
i have no idea about .NET 2003 so i don't describe any difference
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
i was trying to write the following code.i think i am missing some framework base class to import.
dim key as Microsoft.win32.registrykeys =registry.localmachine
Now the problem is
where the registry.localmachine resides ?
|
|
|
|
|
Nilish wrote: where the registry.localmachine resides ?
are you talking about the registry itself or the .net framework?
regards
|
|
|
|
|
Sir this is VB.net Forum.Then obviously i was thinking of registry manipulations using vb.net
|
|
|
|
|
Nilish wrote: where the registry.localmachine resides ?
it resides on your source code!!
Nilish wrote: dim key as Microsoft.win32.registrykeys =registry.localmachine
Now the problem is
where the registry.localmachine resides ?
if you are not sure about the namespace, then the answer is in your question: Microsoft.Win32
but if you are not sure about the registry key, the answer is: HKEY_LOCAL_MACHINE
to find this out, just type the command - regedit in the command prompt.
you can also use functions like OpenSubKey(), SetValue(), GetValue() etc... if you require.
regards
|
|
|
|
|
You're missing an Import at the top of your code:
Imports Microsoft.Win32
.
.
.
Dim key As RegistryKey = Registry.LocalMachine
|
|
|
|
|
i want to encrypt and decrypt simple string. i want methods where key is not required to perform encryption and decryption. even anyone knows then please provide code which is not using key.
|
|
|
|
|
System.Security.Cryptography.Namespace.
Cryptography[^]
Regards,
Satips.
|
|
|
|
|
Hi!
I have a exe file which when run downloads a number of files via webclient.downloadfile() method. Now by default its going in the same directory where this exe resides. I would like to point the files that are being downloaded to another server. could someone help
thanks
|
|
|
|
|
This depends on how your web service works. Do you get to supply the filename and/or full path to where the file gets stored? If not, you'll have to put up with the file getting downloaded to its current location, the you'll have to copy it to your server location when the download is complete.
|
|
|
|
|
Thanks for the reply. i figured out myself i just have to place the folder location before the filename. Its not really a web service. I get list of foldername/filename as a database record and i loop through each of the record and download them. now another problem i am facing is. sometime i get 404 exception and it just stops. how could i skip the file if its not found.
codes:
Private Sub btnDownloadImages_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDownloadImages.Click
Dim myDAL As New clsDAL
Dim dr As DataRow
Try
Dim dt As DataTable = myDAL.getImages()
If (Not dt Is Nothing) Then
For Each dr In dt.Rows
ProcessImageNames(dr("Art_Image_file_URL_stem"))
Next
End If
Catch ee As Exception
Throw ee
End Try
End Sub
Private Sub ProcessImageNames(ByVal strFileName As String)
try
Dim myStringWebResource As String = Nothing
' Create a new WebClient instance.
Dim myWebClient As New WebClient
' Concatenate the domain with the Web resource filename. Because DownloadFile
'requires a fully qualified resource name, concatenate the domain with the Web resource file name.
myStringWebResource = remoteUri + fileName
'Console.WriteLine("Downloading File ""{0}"" from ""{1}"" ......." + ControlChars.Cr + ControlChars.Cr, fileName, myStringWebResource)
' The DownloadFile() method downloads the Web resource and saves it into the current file-system folder.
myWebClient.DownloadFile(myStringWebResource, "c:\images\" + fileName)
Catch ee As Exception
Throw ee
Finally
Me.Cursor = Cursors.Default
End Try
End Sub
---
thanks in advance.
|
|
|
|
|
that is also solved. i need to write a try and catch block before i download it.
|
|
|
|
|
I am not a big fan of the AOL Instant Messanger Software. I have been using Pidgen/Gaim for a while now, and there nice, but I would really like to make my own AIM client with VB.net 2003.
I have tried Fluent.TOC, however, when I use the toc.SignOn() method, the program hangs. I am certain that the screen name and password are right, as they work correctly when logging in in Gaim.
(I am a fairly experienced VB.net programmer, but haven't used these boards before - i created my account to look at and download articles.)
|
|
|
|