Does anyone have a sample code for batch processing image files.
I have some rough code put together but I keep getting an out of memory error.
Can anyone recommend an effecient way to do this?
Thanks in advance.
I'm trying to get the path and exe file for a process.
I'm trying the following with no sucess.
app = pProcess.StartInfo.FileName
and
app = pProcess.MainModule.FileName.ToString
Any suggestions?
Thanks in advance.
From this code snipet:
Dim image As Bitmap = New Bitmap("c:\test.jpg")
Dim propItems As PropertyItem() = image.PropertyItems
Dim encoding As New System.Text.ASCIIEncoding()
Camera = encoding.GetString(propItems(1).Value)
MsgBox(Camera & " " & Camera)
I...
Are there any freeware or opensource solutions to assist with version control of vb.net code. We will be working over the internet, but could set up a VPN.
Recommended best practices and recommnedations are welcomed.
thanks in advance
I need to get data from a vb.net to a webpage, where I want to be able to manipulate the data and display it online.
My first thought is mysql. This process seems like a steep learning curve.
Does anyone have any good sample code for connecting vb.net to a mysql Db?
Thanks in advance.
Does any one have a sample or a starting point for vb.net code that can detect when a form is opened by another app and read the name on the form?
I want to create an app that runs in the sys tray and detects when another program opens a particular dialog box/form.
Thanks in advance.
I'm trying to modify multiple textboxes with a sub routine.
This is a rough snipet I was testing, how do I set an object current via code?
sub tboxmod()
Dim n As Integer
Dim Tname As String
For n = 1 To 2
Tname = "TextBox" & n
Dim TBox As TextBox
Set TBox = Tname
TBox.Text = "n"
Next n
End...
Could someone assist me in converting this code to vb.net, I tried some of the online converters but it isn't translating well.
private System.Int32 iHandle;
private void btnStop_Click(object sender, System.EventArgs e)
{
Win32.SendMessage(iHandle, Win32.WM_COMMAND, 0x00004979...
Could someone give me some direction/post a sample of how to handle user interaction with textboxes without having to cut and paste code for each text box?
Basically I would like to create a few functions to handle testing and formatting of text box input by the user.
I have the code for each...
I'm looking for some sample code that will create a simple rss reader. Anyone with some info to point me in the right direction.
I just want the data to be visble on a form, maybe in a dropdown box.
I'm not real familiar with databases, but maybe this is a good opportunity to learn.
Thanks...
I have alot of files that contain a numeric in their file name that is sequential.
i.e. file001.doc file002.doc, etc.
I would like to write a vb.net app to check the directory and list any files missing from the sequence.
I need help with what direction to start in.
Thanks in advance!
swu
Hope everyone had a great thanksgiving holiday!
My question is basically how to ask my question. Being a newbe to .net I don't think I'm getting the terminology right.
Basically I have an object model I'm working with that contains roadway alignments and profiles. I can access certain...
...using tlbimp.exe?
"The Type Library Importer utility (tlbimp.exe) is a command line tool that reads COM type information (typically contained in *.tlb, *.dll or *.exe files) and generates a corresponding .NET interop assembly."
Here's my response:
Re: .net interop with Land DT
I tried...
Anyone have any samples for trial and error solving.
Basically I have two equations. I solve for the value of the first one and then use trial and error for a variable in the second one until it equals the solution of the first equation.
A brute force in increments of 0.0001 gives me the...
Is there a way to control which line the sr.readline reads? I can't seem to control which line it starts with. If I place an sr.readline in different locations it always seems to read the first line.
my second question is if I have about 20 or 30 numbers to read in from a text file should I...
I'm using the following code to output to a textbox, which I then print from.
Output.OutTB.AppendText(ControlChars.NewLine & "A: " & Aout & " ft")
Output.OutTB.AppendText(ControlChars.NewLine & "B: " & Bout & " inches")
Output.OutTB.AppendText(ControlChars.NewLine & "C: " & Cout & " mm")
I'd...
I'm having a problem comparing TextBox back color of two text boxes. Vb.net will not let me compare them directly and I can't figure out how to set the color to a variable.
If TextBoxA.BackColor <> System.Drawing.Color.Gray Then
TextBoxB.BackColor = System.Drawing.Color.White...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.