- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 10
- Posts with Upvotes
- 8
- Upvoting Members
- 6
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I am using visual basic dot net, with the asp.net add on. I have created a programme which works great, basically it has a logon, which uses mysql for the data, then loads a 2nd page using the username data. I am using the global variable to store the username … | |
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 … | |
In the good old days of VB6 I used to use this technique to communnicate between programmes, without using external files. In fact I could even set off the textbox interupt in the running programme so as it could do something once triggered. This being said, I can't get it … | |
I have written some code to make an outlook addin, which is working great. Except that the to field from outlook is displaying the contact na,e instead of the actual real address. IE it is displaying geoff instead of someone@gmail.com unfortunatly I want the who address not just the shortened … | |
I can open word, replace words, create word documents, but I can find any way of opening a word document and reporting back that a certain word or prase has been found or not. I see there is a function word.find.found but it never seems to report back anything but … | |
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 am using system.net.mail for my email application and it works fine, untill I try to send multiple BCC address's. I can't work out why it is failing I get a long message from my try trap which basically says the server response was repeat limit reached. However I don't … | |
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 an access database which I am using with .net, I can search tables and maker very specific searches no problem, trouble is that I can't work out how to make global searches. IE search entire databse for "fred" or search a single table for "fred". Anyone know what … | |
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 … |