-
- Regarding windows API waveInAddBuffer
by Ganesh sethuraman
- 3 Replies
- Last post
by Ganesh sethuraman
- Hi,
I am developing a application in Visual Studio 2005 using visual basic which detects while we speak in microphone. I serached in the net and found there are number of API's available for working with sound. In which i found we will be filling a buffer using the API waveInAddBuffer. But when i tried it the function is successfull and i received a 0 as return value. But the buffer is not
-
- How to work out the amount of time between a start time and an end time.
by Total ICT
- 3 Replies
- Last post
by Total ICT
- I have a form wtih a start time and a finish time and I want to work out the diffrence between them...
Start Time: 11:00
End Time: 12:34
Time Taken: 1 hr 34 mins.
Whats the best way of doing this in VB.NET
Thanks in advance.
-
- Dropdown DataSource set to GenericList returning nothing
by NoEgo
- 4 Replies
- Last post
by kleinma
- I have this function in our Data Layer:
Public Shared Function RetrieveAll( ByVal CamID As Integer ) As List( Of AStatuses)
Dim statusList As List( Of AStatuses) = New List( Of AStatuses)()
Dim reader As IDataReader
Dim parameter As New SqlParameter( "@CamID" , SqlDbType.Int)
parameter.Value = CamID
Try
i
-
- recently used files
by Zeldacat
- 3 Replies
- Last post
by Bruno Yu - MSFT
- I am doing an exercise for sequential files etc. I am trying to figure out the best way to code a recently opened file.
i have done most of the code, it's just where do i go from here with it
Any help or suggestions would be very welcome.
thanks Zeldacat
-
- Load Crystal report failed after saving report
by Alla2552
- 3 Replies
- Last post
by Alla2552
- I have Visual Basic 2005 windows application that is connected to Access 2003 database and has multiple Crystal reports (ver 10.2.3600.0). I can preview all reports without problem. But when I preview report, save it to specific location (saving data as Word report) and then try to open any other report - getting Load report failed error. It seems like it's switching location of the reports to the
-
- Programmatically searching pdf files
by LauryBurr
- 1 Replies
- Last post
by Christian Liensberger - MSP
- (If this is the wrong forum for this question please point me in the right direction!!)
I'm trying to create a subroutine that will search all pdf files in a specific folder for a user-specified word or phrase, and will then open the Acrobat search pane with the list of all files & occurrences of that word or phrase as if the user had first opened Acrobat and used the facility from within
-
- OPC - I can read but I can't write
by StumblingInTheDark
- 2 Replies
- Last post
by SJWhiteley
- I have an application that gets data using OPC (currently using the opcdaauto.dll). It works on my machine and several others out in the field. They are all running Windows XP Professional SP2.
Yesterday, due to an emergency I took a Windows 2000 box running SP2. I upgraded it to SP4 and did all the security patches, etc. I installed VB2005 and put the application on it. I have no problems
-
- Lines as objects
by Dirihle
- 1 Replies
- Last post
by kleinma
- Hello, is there any way to make drawn line to be a selectable object in visual basic 6.0
-
- Path mapping just like asp:image?
by trent_m
- 2 Replies
- Last post
by trent_m
- I watched a webcast on ASP.NET 2.0 and there is a cool control <asp:image>. This control has a very nice feature in that is you add this value, "~\Images\MyImage.jpg" to the property ImageUrl the compiler will automatically map the path I just defined as it stands in your project structure to match your deployment structure.
I want to know if there is this feature in good ol
-
- Rotating a picture box
by halfazner
- 14 Replies
- Last post
by Spidermans_DarkSide - MSP, VSI
- Hello, I have a picture box - Picturebox1.image as a straight horizontal line. I want the right-hand end of the horizontal line to always point towards the mouse pointer when the mouse is moved. I've seen code snippets like: PictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipNone) However, I need my picture box to PIVOT (on the left hand end of the horizontal line) rather than ROTATE and I ne
-
- cookie-cut a small rectangle out of a larger bitmap to a smaller one
by Werner Kraemer
- 2 Replies
- Last post
by Werner Kraemer
- Visual Basic 2005 (newby) - I have an image placed into a bitmap from which I need to take a smaller rectangular area and copy that unmodified to another bitmap. The destination bitmap is of the size of the rectangular cut. Thus, one would think that is easy, but, I am not experienced enough to know the declarations and methods that make it easy.
-
- Problem with Array of Byte Array
by Bhupathi Venkatesh
- 2 Replies
- Last post
by Bhupati
- Hi,
I need to upload multiple files using Web Service. For this I am using MTOM with WSE3.0. It works fine with the single file loaded into the Byte Array. But for uploading mutiple files I need array of Byte Array and load all the file contents into this array elements(Byte Array).
But when I initialize the 2-dimension array as below
Dim btArray(100)() As Byte
And when I try to
-
- Referencing a DataAdapter
by tattoo
- 6 Replies
- Last post
by CommonGenius.com
- I have a question regarding DataAdapters.
I have created a dataadapter ("MyAdapter") by adding a New Datasource from within the IDE.
In the program code I then use the Fill method to get the data into the dataset.
Now, further on in the program code I want to change the SELECT Statement that is contained by the SQLCommand.CommandText that is attached to "MyAdapter&q
-
- MDI vs child form
by viktor454
- 7 Replies
- Last post
by Jonathan Allen
- Hello
I have a problem
I have MDI form and one child form of that MDI form. I have a Datagridview on child form, binding navigator and ...
I can navigate Datagridview from child form but I need to navigate Datagridview from MDI form with one button witch would
be represented movenext() order. I tryed many things but no luck
Please help
-
- vb6 conversion
by CBrittWardSr
- 2 Replies
- Last post
by JohnHart_MSFT
- I've taken, a look at the toolkit; however I'm having little luck in finding msft guidance on converting VB6 to VB/C#.
Could someone point me to some in-depth articiles or guidance
-
- vb.net vs vb6 pros and cons help
by Jamie LJ
- 10 Replies
- Last post
by SJWhiteley
- Hi there
i am a seasoned vb6 and vb.net developer and where i currently work, they use VB6. Now, we develop a range of office plugins for a client, and they currently use vb6, they also do some other projects with vb6. I want them to change to vb.net
They have asked me for a list of Pros for switching, and also some Cons.
The pros i have are:
.Net is future proofed, VB6 will not be
-
- sql editor to vs 2005
by xswzaq
- 3 Replies
- Last post
by SunSet_SunRise
- I have this sql statement in sql editor and it works without any problems, but when I try to put it in vs 2005 (to add new tableadapter), it give me error lists:
Error in list of function arguments: 'ROUND' not recognized. Error in list of function arguments: ',' not recognized. Error in list of function arguments: '*' not recognized. Error in list of function arguments: ')' not recogniz
-
- Show a form inside another form that is NOT a parentform?
by nyqa
- 2 Replies
- Last post
by tkerns
- If I create a parentform and show a childform maximized nside that form it's all fine. But if I then opens up another childform inside the parent that is not maximized the first childform will be brought back to normal size and not stay maximized. I want a parentform with a childform inside that is always maximize and then I want to open other forms inside the parent that can be set to a specific
-
- VB6 and VB.Net on same machine
by Monk7
- 1 Replies
- Last post
by SJWhiteley
- Can i install VB.Net alongside my existing installation of VB6
Can i run any one of these versions and return to the other seamlessly
-
- Richtextbox control
by Veena_aku
- 1 Replies
- Last post
by JohnWein
- I have richtextbox control in my application, and i set the font in textchange event of the control as
Rtb1.SelectionFont = New Font( "Tahoma" , 12, FontStyle.Bold)
however when i paste text from word, the font doesnt change , the font still remains the same as that on the word docment, what do i need to do
Appreciate your Help
-
- Single Instance DLL
by netpicker9
- 2 Replies
- Last post
by MAYUR_WAKADE TENDULKAR_23d722
- Hi,
I wrote a VB.net DLL (Shared) which contains Windows Forms in it.. How do I restrict the application to have SINGLE INSTANCE Note: I am not using Main().
<ComClass()> _
Public Class clsAccounts
Public Function AccountsSetup( ByRef objABC As Object , ByRef objXYZ As Object ) As Boolean
Dim SeefrmMain As New frmMain
Dim SeefrmAccounts
-
- Slow Visual Basic IDE
by electric_eye
- 3 Replies
- Last post
by electric_eye
- i know this might be a redunandt question/issue regarding the slow perofrmance of the IDE in Visual Basic, but i have a bit different symptoms; the IntelliSense is working fine, but other features like, saving the document, or adding new lines or detection of syntax errors (the blue line takes a while to appeare or disappeare)!
i tried doing the tips that were mentioned in other threads, but no
-
- Simulate printscreen
by Bram...
- 3 Replies
- Last post
by JohnWein
- hi,
i want to simulate the pressing of the printscreen button (keyboard)
i tried several codes but none of them work becaese they are made for vb6 or other versions
i tried 'keybd_event Function' lik in http://www.developerfusion.co.uk/show/274
but i did not work. whats the translation for vb2005.net
-
- Listbox coding help
by Flame4e
- 4 Replies
- Last post
by Flame4e
- ok so im still somewhat nooby at this but i ran into a problem
i have a list box show up after a button is pressed so i wanted to when any option is clicked in the list box to give me a way to know which one it was so i could make other certain things show up accordingly
thanx ahead
-
- Microsoft Visual Basic logo program still around?
by JDR2500
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Hi,
Does anyone know the status of the " Featuring Microsoft Visual Basic " logo program We used to carry this logo on our applications but indications are it's defunct now.
I can't find he requirements document anywhere on Microsoft's web sites. Also, the requirements document on Lionbridge/Veritest's web site is dated July 2000 . It talks about Windows 95 and makes