I'm currently using system.data.oledb but I can't seem to make the update , search, & delete work fine.
Are there any other ways on how to manipulate an ms access database in vb.net easier than my method?
Here is my code for searching:
Dim cn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\ACCESS DATABASE\...
Hi all,
Is it possible to handle exceptions on the AppDomain.CurrentDomain.UnhandledException callback?
I want to do the following:
Show my own "an exception has
occured" dialog, with a "Send Report"
button
After the user dismissed the
box, I want to close my app, but I do
not want to Windows default crash dialog "The
application nee...
How to backup ms access database in vb.net?
We're gonna make a system for a certain company but our teacher doesn't teach us at all, please help. Any idea on how to do it?
...
How can I get how many times a string occurs in a textbox?
I thought the find function would return the number of times found but it seems to return the location of it.
...
Hi, how can I get a ArrayList or List of key and value of the Name, ID and description from the xml file below?
I do not really understand how the handling of elimenter done in VB.NET based on logic in javascript.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Document>
<TrackList>
<plist>
<array>
<dict>
<key...
I have read previous posts and used suggestions about firebug and selenium etc. I am still a newbie and am still pretty confused as how to implement this. I am trying to access URLs that appear when I click on a link. I have accessed the JavaScript code and the function just has a couple of parameters which I have no idea how to intercep...
In vb.net 2008, when I start a new project, it defaults to "Enable Application Framework." I add the following code to a button click handler to the main form in the new project:
Dim k As Integer
Dim s As String
For k = 1 To 5000000
s = Mid(s & k, 1, 30)
Next k
End Sub
Then, when I try to break execution to debug using the pause but...
Hey guys,
I imported the Winsock feature in my vb.net application, so I can make a Chat System. I just have one little problem with my program. In the GetData method of my program,
CLIENT SIDE:
*Dim strData As String*
AxWinsock1.GetData(strData, vbString)
TextBox1.Text = TextBox1.Text & _
strData & vbCrLf
It will under...
I have what should be a simple thing but my unfamiliarity with .NET and web programs is hindering me. I'm a straight up old-school C programmer who has been programming ASP and ASP.NET lately for an ecommerce site.
I have an ASP program that synchronizes 2 databases. I also have a VB.NET program compiled down to an EXE that fills the ...
Hi! I need to dynamically call web service! For this I made simple web service Service1.asmx
Then I created the proxy class for the Service1 Web Service, I use the WSDL.exe utility and following command at the command prompt:
wsdl /language:VB /out:myclass.vb http://localhost:3245/Service1.asmx?WSDL
This command create class myclass.v...
I don't want to actually MAKE the pong easter egg, but for anyone with Dreamweaver, try typing 'dreamweaver' into the color selection box to play a round of pong.
The bit that I want to know how it works is the bit at the end once you lose.
After your loss, it will immediately play a small tune, whether or not your volume is on. In fac...
Given an url, if it has any rss nodes, then i am adding to the date base.
e.g.
For the url link text rssDoc.SelectNodes("rss/channel/item").Count is greater than zero
but for the atom url google/atom rssDoc.SelectNodes("rss/channel/item").count is equal to zero.
How can i check if the atom rss url has any nodes or not ? have tried fo...
Imports IWshRuntimeLibrary
Module MainModule
Public Function CreateShortCut(ByVal shortcutName As String, ByVal creationDir As String, ByVal targetFullpath As String, ByVal workingDir As String, ByVal iconFile As String, ByVal iconNumber As Integer) As Boolean
Try
If Not IO.Directory.Exists(creationDir) Then
...
How can you detect when the registry is changed? Furthermore, how can you prevent changes to the system registry?
I want to create a security tool, but can't seem to find this anywhere.
This is in vb.net.
I know the registry is stored as files on your computer somewhere, but I have no clue where it is stored, though I could probably ...
I want my form to appear at the right edge of my screen
but I not use since Right is readonly .Is there a solution for this?
Right= My.Computer.Screen.WorkingArea.Right
...
i'm looking to find how many different implementation of merge sort in .net there are because i was checking this post Sorting Algorithms in VB.Net: How To Implement Merge Sort and the article mentions that there are several other versions such as in-place and dunno what else...
...
I have a simple windows Forms application where in I have a usercontrol called "MyControl" derived from PictureBox.
In this MyControl, I have the following code :
Sub New()
MyBase.New()
Me.BackgroundImage = My.Resources.MyImage 'This is a project resource image
End Sub
Now when I drag and drop this MyControl into a form, I get ...
could anybody knows any alternatives to progressbar? Inmy project im using progressbar..I would like to change it to something like a rotating gif image which indicates the processing or someother labels which prevents the user from interacting to the program.I tried to implement the gif image by using background worker but its hanging m...
what are other ways to do ping in vb.net or c# other than the way found here:
Dim pinger As New System.Net.NetworkInformation.Ping
MessageBox.Show(pinger.Send("192.168.0.119").Status.ToString)
...
I need to use a richtextbox, not a normal textbox because of the way it keeps the caret position, from line to line. But I need to keep the text at the same font all the time even if it is pasted.
At the moment I have it selecting the entire text and changing the font to the original (Lucida Console) but it look horrible when you paste ...