|
Did you have to post this twice? 
|
|
|
|
|
no , i did it by mistake.
does this bother you?
|
|
|
|
|
wrote: how to insert binary data into database by using vb.net?
theCommand.CommandText = "INSERT INTO MyTable(binaryColumn) VALUES (@binaryData)"
theCommand.Parameters.Add("@binaryData", byteArray)
theCommand.ExecuteNonQuery()
|
|
|
|
|
thanq so much.
1. can i insert binary data into MSACCESS by using vb.net?if yes, then how?
2.wht is this "byteArray"?where we declare array?
bt cud u xplain me properly.
-- modified at 22:25 Monday 19th February, 2007
|
|
|
|
|
Hi,
I want to convert an audio file to text format. I donno what kind of control or API or tool to use. Can any one help me?
Rgds,
Surendran
|
|
|
|
|
There may be an MS SDK to do this, but you'd have to look for it, and it won't work all that well.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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,
I am a newbie to vb.net.
I am trying to build a program that crawls through google and gets me the top 100 links (first 2 pages of the search results) for a few searches. I have put all the keywords in a file.
I am able to retrieve the keywords in to my vb form.
I could also navigate through google for a relative search word.
but the loop doesn't work.
start loop with "keyword"
Step 1: navigate 2 google using the "keyword"
step 2: after the document loads, retrieve the first 50 links
step 3: click the "next page" link
step 4: after the document loads, retrieve the next 50 links
end loop
this works if I have only 1 keyword but if I have multiple "keywords" that need to be searched one after the other, I can get the links for the last keyword only.
How can I make the loop wait till all the operations of the previous loop in the webbrowser are complete.
Sorry for my bad english, as I am not an american.
Please help me.
Thanks in Advance,
Marshall
|
|
|
|
|
marshall12345 wrote: Sorry for my bad english, as I am not an american.
LOL - Americans all have bad English.
marshall12345 wrote: How can I make the loop wait till all the operations of the previous loop in the webbrowser are complete.
The web browser fires an event when the URL changes, amongst others. You should handle your processing there, so you can respond to each page as it loads, and then load the next one.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Write a program that allows the user to draw free hand" images with the mouse
Hlalele
|
|
|
|
|
I have done. Sounds like now you need to. Is 'Multimedia and Graphics' the name of the class that assigned this homework ? If you're not willing to try it yourself, I recommend quitting now, and making room in the education system for someone who stands a chance of success.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
when i tried to do like this
Start .NET Framework Configuration Management Console (Start -> Settings -> Control Panel -> Administrative Tools -> Microsoft .NET Framework Configuration).
Then select "Assembly Cache" and click "Add an Assembly to the Assembly Cache" to add all DLLs into GAC.
when i am trying to add my dll file there is a message like this is coming
U must have a stongname(name,version and public key).for that what i want to do? how can i add my component to gac
|
|
|
|
|
You need to make sure your dll is strongly named, just like the error message said.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
How can i make sure that dll is strongly named or how can i give a strong name to dll
|
|
|
|
|
Try this[^]
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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,
I had drawn some shapes in panel within in form. I want to make those shapes in panel as .jpg image and save it c:/.
Is there any way to make the drawing shapes in panel as image.
Thanks in advance.
Be simple and Be sample.
|
|
|
|
|
Draw them onto a bitmap instead of onto the panel. Show the bitmap in your program to view it, and call the Save method to save it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
how to insert binary data into database by using vb.net?
|
|
|
|
|
What have you tried ? A blob field is usually used, but it depends on the database.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Hello all,
I am trying to create a simple VB application that will overwrite the FAT on a floppy with a set string I select. I found CFloppyDisk 2.0 (which is written in C++), And I cannot figure out how to complile it as a DLL that visual basic will allow me to reference. I realise this is a basic issue, but since the code was existing on this site I was hoping someone might know how to do it.
|
|
|
|
|
If the code was on this site, then it was in an article. Which means, teh forum of the article is the only place you'd especially hope to find help. The articles are submitted by all sorts of people.
If you compile a C++ dll, you can call it from VB using p/invoke. How are you trying to call it, now ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
I am trying to get a random letters from a set of Ascii codes, whereby i am only selecting certain keys (for example, the top row of the keyboard).
I am using this code:
Dim rnd As New Random()
---
Private Sub FORM1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim c1 As Char = Convert.ToChar(rnd.Next(97, 123)) : lblLetter1.Text = c1.ToString()
---
However, i cannot add more than the min max values in the next column, is there a way to do this, i.e. 97, 101, 105, 106...etc.
Cheers
|
|
|
|
|
Create a string containing the keys you want to choose from.
Dim keysToUse as String = "QWERTYUIOP"
Private Sub FORM1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim c1 as Char = ' '
while (Not keysToUse.Contains(c1))
c1 = Convert.ToChar(rnd.Next(97, 123))
This should keep looping until it selects a character that is in your string. Remember it will be case sensitive.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Put the characters that you want in a string, and pick one character from the string.
Dim chars As String = "qwertyuiop"
Dim rnd As Random = new Random()
Dim index As Integer = rnd.Next(chars.Length)
Dim c1 As Char = chars.Chars(index)
---
single minded; short sighted; long gone;
|
|
|
|
|
Oh, that works too.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
im confused, sorry, bit new to all this. I have the following, how would i do it on this???
-----
Private Sub frmTestTop_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
RandomizeLBL(Me, "lblLetter*")
End Sub
Private Sub RandomizeLBL(ByVal container As Control, ByVal pattern As String)
Dim rnd As New Random
For Each ctrl As Control In container.Controls
Dim lblLetter As Label = TryCast(ctrl, Label)
If lblLetter IsNot Nothing AndAlso lblLetter.Name Like pattern Then
lblLetter.Text = Chr(rnd.Next(97, 122).ToString)
End If
Next
End Sub
-----
Cheers
|
|
|
|