adding extra info to an excel file after it has read a txt file
hi i have this code that reads a txt file of mind Code: Dim oExcel As Object Dim oBook As Object Dim oRow As Int16 = 0 oExcel = CreateObject("Excel.Application")...
View Article[RESOLVED] Haven't done this in a while and can't remember how to do it!!!
I am trying to dynamically build an ASP Table in the code behind. I have a regular application where this is needed. I did this years ago and can't remember how to do it. So, I created a simple page in...
View ArticleHow to get a MDI child form to cover the controls on the MDI parent form usin...
I am using VS 2010 Express. I have a MDI parent form with several controls on it. When the MDI Child forms load, they show under the controls on the MDI Parent form. I want the MDI Child form to...
View Article[RESOLVED] Access Group By
I have a table called Requests and I'd like to return values grouped by a field named 'Sentdate'. I tried the following but got a recordcount of -1. What am I doing wrong? rs.Open "SELECT count(*) FROM...
View Article2 questions... bitblt screen capture and find a hidden process
I did some searches and am not able to find what i'm looking for. I have 2 questions I could use some help on. The first question is how to save a screen capture to a file when using bitblt. Im using...
View ArticleVS 2010 [RESOLVED] RGB to Integer and Back
. My web app will be outputting color codes to my vb.net app. In the web app, i have ColorR, ColorG, ColorB. each ranging from 0 to 254. To save bandwidth, i intend to convert these three numbers into...
View ArticleJust starting out VB2010
Hi, been press-ganged into VB2010 to "keep up to date" and looking for starters and comparisons to what I know from VB6 and VBA. I have a couple of questions, please. Have used a module written by Doug...
View ArticleUsing DatePart in SQL
I have a table called Requests and I'd like to return values grouped by the month value of a field named 'Sentdate' which is formatted in the database as a General Date. I tried the following but gat a...
View Articlemdb database to csv file
My program needs to export its database to a csv file. Ive done this in .net I used the listview as the source of the csv file. But I cant seem to find a way to do this in VB6. Any way is acceptable, I...
View ArticleAny good examples for WCF and Json?
I have a client that wants WCF in it's pages. Well bull, i have seen 100 different implementations of WCF and i am not sure what to pick. I though good ol web service knowledge would make it easy but...
View ArticleListView adding items ( 3+ columns )
What is the syntax to add items to a ListView object with 3 or more columns. First Column: Code: ListView1.Items.Add(s) Second Column: Code: ListView1.Items(i).SubItems.Add(s) Third Column: ?
View ArticleShould Soccer Replace Football?
Soccer is civilised notwithstanding some of the criminal persuasions of some of the fans; where as football is a ubiquitously violent and stupid sport which should be banned. What do you think?
View ArticleMy Graphics appear upside down?
Hey, I have been playing with the graphics class in vb.net and for some reason everything I draw appears upside down. Here are the co-ordinates going in From: X - 338 Y - 581 To: X - 338 Y - 564 From:...
View ArticleDLL procedure call
I made wrapper dll which wraps original _cdecl DLL to export with _stdcall. And I declared in VB6 and called function but following error occurs. Run-time error '53': File not found: MyDLL.dll...
View ArticleVS 2010 Conditional with Pixel Color?
Hello :) I would make this: Code: If (Coords) = FFF0F0F0 Then ....... Else ..... End If But i don't have any idea about how can i make this. Thanks and sorry my enlgish errors.
View ArticleMultiple And/Or Conditions On Select
I have two tables Orders_Open and HardwareStatus_Open which are linked via the OrderID field. The HardwareStatus table indicates if an order requires hardware to be ordered, whether hardware is being...
View ArticleJPG that gets live data from a Webpage
I'm just wondering if there is any way to create a JPG file that loads data from the Web. This would allow me to do things like upload a JPG file that shows live data on a Website where the data I want...
View ArticleVS 2010 Reading Text File & Displaying In A Listview
Hi, I am having some trouble displaying text in a list view control. I have several columns in my list view, and I am not sure how to read each line from a text file and 'place' it in the column. Code:...
View ArticleUnable to programmically update points on a Chart in vb 2010
I am using vb 2010 in VS 2010 Express. I have a Chart control which is named Chart1. Imports System.Windows.Forms.DataVisualization.Charting I tried to change one of the Title lines with the following...
View ArticleVS 2010 listbox/textbox
Hello I've got a textbox and everytime i type then press enter I want what I've just typed to also be placed into a listview on a tab. Example: if I type in "OP28" then press enter it puts two spaces...
View Article