13 Solved Topics
Remove Filter I am using visual studio / basic 2019. using the windows media to play sounds (WMPLib.WindowsMediaPlayer). It works great, I can play multiple sounds etc. However what I realy want to do is play some sounds on sound card A. And other sounds in sound card B. I am thinking … | |
I have writen a few DB programms in ADO.net now, and I hate it. It is riddle with confusion and problems, and because of the ridiculous idea of using all the data locally, it makes networking neigh on impossible and incredibly slow, so please please someone show me how to … | |
I am able to find and replace in word, however all I want to know is if the word was found, I have tried the following code: This works oDoc.Content.Find.Execute(FindText:=x, ReplaceWith:=y, Replace:=Word.WdReplace.wdReplaceAll) This never give the true statement oDoc.Content.Find.Text = x If oDoc.Content.Find.Found = True Then But why not? | |
I am in this position again with warning that I cant get rid of, Here is the code: Public Function POPErrors(ByVal strMsg As String) MsgBox("POP3 ERROR - " & vbNewLine & strMsg, MsgBoxStyle.Critical) End Function Here is the warning: Function 'POPErrors' doesn't return a value on all code paths. A … | |
I am having a little difficulty witht he syntax of a lookup using access DB here is the code: "SELECT * FROM tblContacts WHERE ContactID IN (353,1520,2031); Order by ContactID" It works find without the order and I have tried without the ; or with the ; at the end, … | |
I have an email programme that works sometimes, but mostly comes up with a general Mapi failure. I am at a loss as to the reason, but it may be a good idea to not use the mapi controls anymore if it is going to cause errors. I have looked … | |
I am running a database with about 200,000 records, so not too big. It runs fine except when I try to update one of the tables. Here is the code: Private Sub Add_History() Dim cb5 As New OleDb.OleDbCommandBuilder(da5) Dim dsNewRow5 As DataRow Dim sql5 As String sql5 = "SELECT * … | |
I have a problem with retrieving data from access databse. I make the connection and retrieve the data no problem. But when the data changes from another use of the database, I cannot get the new changed data without reloading the complete programme. Even repeating the load functions does not … | |
I have a problem with vb.net tabcontrol in so far as I cannot change the individual tab widths. I can chang ethe sizecontrol to fixed and alter all of the tabs but not individually. Ordinarily it would not be a problem with the tabs autosizing by the text size, but … | |
I have a warning that I can;t get rid of: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. I am pretty sure it is becasue I have not dimentioned the variable but how do you dimention an IO.memorystream. … | |
Although the program still run fine I am getting a little tired of the warning on my program that I can't get rid of. First one is with a process: Dim NewProcess As Process = New Process If Attachment2TextBox.Text <> "" Then NewProcess.Start(Attachment2TextBox.Text) Here is the warning: Warning 5 Access … | |
Is there any way of running and compiling with known errors in the code. Her is my reason. I am using a reference to word 2008 and word 2010, so as the program will work with both versions. Trouble is that if the computer I am using to test the … | |
Here is what I am trying to do: From VB.net open a word template --- Done Populate it from a database ------Done Have word report back with the saved file name so as I can add it to the database history ----Not done. I know is has something to do … |
The End.