Read The Same Dbf Two Times With Different Application?

May 15, 2011

i try to read a dbf file with that sub

imports system.data
Public Sub dbf2()
Dim objLigacao As System.Data.OleDb.OleDbConnection

[Code]....

how i can connect and read the same dbf two times with different application???

View 5 Replies


ADVERTISEMENT

Read One Proxy From Textfile Every 5 Times?

Mar 17, 2009

I have this class:

Public Class ProxyHelper
Private Shared proxyQueue As New Queue(Of System.Net.WebProxy)()
' Just holds the number of times we've asked for a proxy.

[Code]....

This will ask for one proxy each time my webclient does something five times.

My webclient simply downloads some data and views it from a webpage over and over, and after 5 times you will get banned.

Question: How can I make the above code ask for a proxy from a textfile with one proxy on each line?

I will not have a browse function, the proxies.txt will always be in the app.dir

View 1 Replies

VS 2010 Read Bytes With 1200 Interval For 100 Times?

Dec 17, 2011

I'm trying to read bytes with 1200 interval for 100 times, but I can't get it working. This is my

Try
Dim fr As FileStream = File.OpenRead(OpenFileDialog1.FileName)
Dim data(fr.Length) As Byte

[Code]....

I need to read from offset 4896, then from 6096, then from 7296 for 100 times and for each interval add to the listbox.

View 6 Replies

Application With A Splash Screen Times When The Application Is Run?

Jun 16, 2011

I was trying to figure out the cause for this . What i understand is :

1. .net starts splash screen in different thread.

2. Someway when main form load event is finished or about to finish , then splash screen is disposed.

Now in this case , i think dispose method of the splash screen gets fired from the main form , even when splash screen initialization is not finished yet.

View 4 Replies

VB Freezes After Debuging Application Several Times?

May 15, 2011

I'm having some bugs with my Visual Basic 2008! Here they are:

When debugging my program...After I close the program the 17th time visual basic freezes for exactly 45 seconds!

When I restart visual basic then it stops freezing but again after 17 times exactly it starts to freeze again!

( I think I've tried reinstalling it but I don't really remember...If I did it didn't work! )

View 12 Replies

Form Based Application Has To Run Invisibly At Times?

Apr 25, 2011

I have a form based application and I need to add the ability for it to read command line arguments and not display any forms if the app was started from the command line. How can I go about this?

View 5 Replies

Call Same BackgroundWorker Multiple Times Without Using Application.DoEvents

Mar 4, 2010

I'm running in to a problem that I was able to fix with Application.DoEvents, but don't want to leave that in because it might introduce all sorts of nasty problems. Background: Our app is primarily a desktop app that makes many calls to a web service. We control everything but changes to the overall system design are not going to be seriously considered. One of those calls, Calculate, is used very often, and occasionally can take a few minutes to process all the data to return valid results.

[Code]...

View 1 Replies

Creating An Application That Calculates Render Times For Maya?

Sep 21, 2010

I'm creating an application that calculates render times for Maya. I kinda got bored of coding all the technical stuff so I started to mess around with the interface. I'm trying to create a combobox color picker.

View 5 Replies

VS 2008 Prevent My Console Application Get Executed 2 Times At The Same Time?

Dec 29, 2009

I know something like this exists, I juts don't know the right word to search about it, so basically I have a cosole application and if it runs twice it crashes. I wanna dispay a message: Sorry app alerady running.I can look at processes and see if my exe is there already running but that's much harder.

View 2 Replies

Enlarge An Image Up To 32 Times Or 64 Times Bigger Than Original?

Dec 12, 2011

I want to enlarge an image, possibly up to 32 times or 64 times bigger than original dimensions (so that the user can see each pixel) if possible. The following is a simple function that I have to enlarge an image.

Private Function xEnlarge(ByVal Source As Image, ByVal Rate As Double, Optional ByVal Quality As Drawing2D.InterpolationMode = Drawing2D.InterpolationMode.HighQualityBicubic) As Image

[Code].....

View 6 Replies

Forms :: Find If Times Is Between 2 Times?

May 13, 2009

I have just started using vb.net and I have a checked list box with times throughout the day shown as

00:00 - 00:14
00:15 - 00:29
00:30 - 00:44
00:45 - 00:59

What I am trying to find is a way to get the current time and find which list item it fits into. What I think I need to do is to first of all get the current time and then go through the list splitting each item into 2 times and seeing if the current time fits. For example: Split the item 00:00 - 00:14 to 00:00 and 00:14 and then check if the current time is more than 00:00:00 but less than 00:14:59 and if so do certain task.how to go about taking each list item and splitting it into 2 separate times so I can check between them?

View 2 Replies

VS 2008 Application To Reject Serial And Count How Many Times Entered In A Wrong Serial

May 16, 2009

I made my program and now I just need to add in the serial and trial part of the application. I know the application must connect to the host and go to a txtfile. How would i do the trial and serial. Also If the serial is already activated I want the application to reject that Serial and Count how many times they entered in a wrong serial.

View 2 Replies

Read A 64 Bit Registry With A 32 Bit .net Application?

Oct 3, 2011

[code]After spending hours of research.I finally figured out the vb.net version on how to read a 64 bit registry with a 32 bit .net application. The importance of this is when you try to write to one part of the registry, it gets redirected somewhere else in the registry, which is super annoying.[code]

View 2 Replies

Read Data From Another Run Application ?

Jan 31, 2010

i want to read data from another run application by vb.net2008 project.i can read from this program by excel by typing in any cell " =MISTWS|SEGS38191C010C1!Dailyhighprice"

the program name MISTWS and with this comand i wants to read the value of daily high price to company code SEGS38191C010C1. i wants to read the same way but not in excel,i want to read it in vb project directly let vb project read data from MISTWS program direct.

View 3 Replies

Read The Cpu Temperature In A VB Application?

Nov 3, 2007

i'd like to read the cpu temperature in a VB application.i tried to get it using WMI but that isn't supported by my computer.i used code i found on this forum and what i get from the WMI code creator.this is the code created with the WMI code creator.

View 9 Replies

Read The Ip-packages Sent To An Application?

Oct 2, 2009

read the ip-packages sent to my application. Im using a webbrowser and the httpwebrequest. I don't need the packages sent to the other applications, so im not trying to track passwords or something bad, but I thought it would be fun to get some numbers running over my screen.

View 1 Replies

The Database In Application Becomes Read-only?

Apr 23, 2010

I've created a project in VB .NET. when i build it and run the .exe everything works fine but when i install it the database becomes read only. I've used the VB 'setup and deployment' project to make and installer and i also tried InstallShield but the occurs in both cases. i looked on google but can't find anything that makes sense atleast. i think the application can not create _log.LDF file. Anyone come across this problem before?

error: System.Data.SqlClient.SqlException: Failed to update database "C:........." because the database is read-only.

View 1 Replies

C# - Read Sms From Mobile Device With .net Application?

Mar 16, 2010

How can I read SMS from mobile with my .net application? i have a Nokia 5310 mobile phone. Can you tell me from where i can download Nokia SDK or source code or Nokia API etc?

I want to make a custom application which reads SMS and at the same time sends a response to the sender's mobile number.

View 1 Replies

Enable Application To Read Barcodes?

Oct 15, 2011

I need to add barcode reading feature to my application. I donot know how to enable my application to read barcodes. I mean a scanner should read the barcode and having matched the article no. in database, info should be displayed on the screen.

View 2 Replies

Get My Console Application To Read From Txt File?

Apr 8, 2009

What i want to do, is to get my console application to read from a .txt file (with one word per line), and randomly select a line from that file and declare it as chosenword. However, i am not sure what i must do to do that.

View 3 Replies

How To Read Changes In Excel File Into Application

Apr 6, 2011

I have an excel file which is auto generated by third party software..and its readonly file and its data constantly keep changing online. Now I want to use or read that data in my vb.net application whenever its changes take place in excel file automatically.

View 1 Replies

How To Read Data From XML For 3rd Party Application

Feb 5, 2012

I want to read the data from the following website:[URL]..I have attached an image the details, from which I wish to read the data: getting the details as mentioned above?

And also let me know how the data is supposed to be extracted every time when required.I will be using this XML data in VB10. This will simply allow me to create a widget that will show me the cricket score update that frequently.

View 2 Replies

Read Arguments Passed To Application?

Nov 3, 2009

I'm wanting to pass arguments to my application, I believe there is an property called arguments in the ProcessStartInfo class, however how does my application interpret them?

View 2 Replies

Read From Command Line Application?

Aug 19, 2009

How can I get a label to display what a command line application is showing. I made it so it can show the final result, but I want it to update live as the app is running.

View 2 Replies

Read Text From A 3rd Party Application?

Oct 9, 2008

I am trying to read text from a 3rd party application. I can create a catalogue of all possible letter variations. I can store every possible character I encounter as a small bmp, or perhaps as an array/matrix of pixel values. For example:

xxxxOOxxxx
xxxxOOxxxx
xxxxOOxxxx
xxxxOOxxxx
xxxxOOxxxx

the letter "I" could be represented in a 10x5 array or matrix as above. Where x represents a wildcard pixel value, but O represents the expected/pre-defined RGB value.

I want to search specific areas of the screen, pixel by pixel where I expect to find the information I'm after. And convert this to usable information. What method gives the best trade-off for simplicity and speed? And how can I implement this method? How do I search for a bmp within a bmp at specific coordinates?

View 1 Replies

Read Text In A Label From Different Application?

Nov 6, 2011

I have a application working in my pc.I can get every detail of that application(handle,mainwindowhandle,etc.)

And that application has a lot of labels, and I want to read that label and msgbox that string in my own application.

View 1 Replies

Read HTML From A Webpage And Interact With It As Own In A WPF Application?

Apr 24, 2011

I've search numerous hours, but I haven't been able to find the appropriate solution. What I want to do: Get the html of a certain webpage (Lets say in this case url...this html within my wpf application, so that you can see the content of the page you requested. Then I want to be able to trigger events on the html that has been loaded from the URL. Like I want you to be able to click on a certain node in the HTML and I want to be able to link this node to a certain value. Basically a crawler application that let's you request a page, see the page in a control and allows you to click in the loaded HTML and link values to predefined values you set. So basically I want to be able to get a webpage displayed within my application and be able to trigger events on the html (For example a click on the html which would need me to know on what node you clicked in the html, or for example be able to edit the html by clicking in it).

View 1 Replies

.net - Read <connectionstring> Of Web.config From A Console Application?

Dec 20, 2011

I have VB.net console application. I would like to read the (ConnectionString) from a web.config.

Web.config is located at a particular path in my virtual PC, say "C:/mywebConfig"

<add name="MY_DB" connectionString="Data Source=DATASOURCE;Initial Catalog=DB;Persist

Security Info=False; User ID=***;Password=****;" providerName="System.Data.SqlClient" />

My code:

Dim connString As String = String.Empty
connString = ConfigurationManager.ConnectionStrings("MY_DB").ConnectionString

Whenever I try to access it, i get the error not set to an instance of an object or something like that :)

I tried to add the web.config in my Project, but still get the error.

View 3 Replies

.net - Read A Settings Value From The Web.config File In An ASP.NET Application?

Aug 18, 2010

I'm trying to use the following command:

Dim xmlFilePath As String = _
System.Configuration.ConfigurationManager.AppSettings("XmlFilePath")

to retrieve the following setting:

<applicationSettings>
<MySolution.WebProject.My.MySettings>
<setting name="XmlFilePath" serializeAs="String">

[Code]....

However, xmlFilePath shows up as Nothing after that line of code is run.

What's the correct code to get a setting out of the web.config file in an ASP.NET application?

NOTE: Although you can add keys individually to the <appsettings> tag, I'm trying to figure out how to use it with the "Settings" tab in the project's properties.

View 2 Replies

.net Read From Console When Using A Windows Form Application?

Sep 25, 2011

I have a problem with reading and writing to the console from a windows form application.

I am running visual studios 2010 and I am coding in visual basic.The current code that I have is as follows:

Declare Function AttachConsole Lib "kernel32.dll" (ByVal dwProcessId As Int32) As Boolean
Declare Function FreeConsole Lib "kernel32.dll" () As Boolean
System.Console.Write("abc")
Dim test as string = Console.ReadLine()
System.Console.Clear()
ect
FreeConsole()

With the following code I can write to the console but I cannot read from it,

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved