-
- Disposing read data in DataReader
by guanzhao
- 9 Replies
- Last post
by guanzhao
- Hi Experts,
I'm having some issues with DataReader. Hope you guys can help me.
I have a set of data to be read in an excel file. Basically, I need to get the 1st row of data as an reference first. After reading the first row, I am required to read the 1st row AGAIN, this time to use the data itself. Here is a sample of my code:
//Start Code
OleDbConnection con = new Ol
-
- what is vb & vb.net
by jin katama
- 3 Replies
- Last post
by Martin Xie - MSFT
- hello friends
may i known the diffrence between vb and vb.net
and why we call it vb.net
Regard's
Jin Katama
-
- Sqrt problem
by EJohn
- 3 Replies
- Last post
by Jay Vora
- I am trying to get the square root of a variable.
How do I make the following work:
name of variable = Console.WriteLine(" {0}" , Math.Sqrt(variable name));
-
- Delete a Selected row
by Doobe01
- 4 Replies
- Last post
by jwooley
- I am trying to delete a row in DataGridView with a Button from a ToolBar. I have written code to add a row with input from the user and need to find out how to delete a certain rwo that I click on and highlight. Is this possible If yes how would I go about telling the delete command which row is to be deleted Thanks. Nick
-
- axWindowsMediaPlayer1 - Detect when the currentMedia is finished playing...
by paoloTheCool
- 14 Replies
- Last post
by paoloTheCool
- I was wondering if there was a good way to detect when the current media of a axWindowsMediaPlayer1 control is finished playing. I have my own method, but it doesnt work when the clip is 10 seconds or less.
Thanks,
paoloTheCool
-
- It's about a link error in a C++ console application
by pcesarfe
- 2 Replies
- Last post
by pcesarfe
- Hi People!
I need a help to solve the link error, I show up after the application's code, in a linker's bild log:
Why that link errors
Annuity.cpp
#include "PresVal.h" #include <conio.h> #include < iostream> using namespace std;
int main() { cout <<"*******************************************************************" <<endl; cout <<&
-
- Hopefully simple question
by flarmon
- 4 Replies
- Last post
by kk5sc
- Hi, I'm trying to make my first brain dead windows form. All I want to do is to print some text when a button is clicked. How do I get a unicode character to print in a textbox I thought I should be able to just include "\u2265" in the text string, but it only shows up as a question mark. I tried changing to many different fonts, but this doesn't help. Is there some simple way to do this
-
- AutoComplete on Webpages, form data?
by mcgin1591
- 8 Replies
- Last post
by Martin Xie - MSFT
- Is there a blog even for this Im talking about the AutoComplete Feature. Such as if you go on myspace, you can just double click or type a letter and it will show ur history of what you typed. Or some login form/page. If anyone knows anything about this, such as code, or like a place at coding4fun please post.
-
- cancel registration
by hotter
- 1 Replies
- Last post
by Andreas Johansson
- I registered User ID in Visual C++ 2005 Express Edition. But I uninstalled Visual C++ 2005 Express Edition, and I don't use it anymore. So, I want to cancel registration. What should I do
-
- Writing text from textbox out to a file
by snorfer
- 7 Replies
- Last post
by snorfer
- FYI: I'm new to VB.
I made a VB program to run a bat file that is created when you select a file.
1. I have a textbox1 that displays the address of the file and writes out the full address and file name to a bat file.
2. A button labeled browse to find the file to display in the textbox1.
3. A button that runs the bat file that is created by the textbox1.
My problem is that I want t
-
- icons scrampled in toolbox
by Tigerwood2006
- 4 Replies
- Last post
by Ckiszka
- Hi, I have a strange problem lately regarding the IDE. The icons inside the Toolbox are all scrambled. Like this morning when i opened it, all the buttons are appearing as clock icons (except pointer icon is appearing normally)! It all happened a few weeks ago, and one note needs to mention is that the whole project we are doing is frequently copied and pasted from one computer to another (the who
-
- Copying projects
by sriesch
- 3 Replies
- Last post
by sriesch
- Is it possible (or reasonable) to copy a simple project by just copying the entire folder in which the project resides If so, what extra steps, if any, should I be doing immediately prior to or after the copy
The reason I ask is that I recently copied a project to quick test slightly different code in a discardable copy, but when I went back to the original project to work on it, it displ
-
- DownloadStringAsync - only first 4096 bytes?
by Szymon Kosok
- 4 Replies
- Last post
by Szymon Kosok
- Hello, I want to download output of one site, but there is downloaded everytime only first 4096 bytes of reply. How can override that Edit: Another site on same server works good, lol, but the one needed by me not.
-
- HELP INFO FOR MICROSOFT PLATFORM SDK FOR WINDOWS SERVER 2003 R2
by DDJT
- 9 Replies
- Last post
by DDJT
- How do I access the help info to Microsoft Platform SKD for Windows Server 2003 R2 I would like to get to the Win32 API documentation guide.
-
- How can I find a dirty cell in a datagridview when the DGV has lost focus?
by Cozmodon
- 11 Replies
- Last post
by Cozmodon
- I am trying to trap a dirty cell when the user is exiting the program without saving changes to the datagridview. I can trap a single instance by checking current cell leave with iscelldirty, however I don't want to do that because the user may make several changes to several rows and may forget to save the changes. The user may also change several cells in the same row and I don't want to keep fi
-
- database update error
by W1lk0
- 2 Replies
- Last post
by W1lk0
- Hi I have created a personal database that is just an address book type database. The table i have created and using in this app. is called Contacts and on adding a new contact to the database (using the + button in the Navigator bar) everything is fine and the contact is saved. I also added an autoupdate/save function so that the contact would be saved on exit - like so: Private Sub ContactsBind
-
- VB2005 and UAC in projects
by MS486353
- 2 Replies
- Last post
by MS486353
- Hi there,
I have a VB2005 standard and VERY simple application that in Windows Vista show the UAC prompt.
I don't know how to do that this is't appear beacuse does not atack to the system.
Thank you.
Julio Giraldo
The code of the app is:
Code Snippet
Public Class Form1
Dim vaFicSQL As String = Environment.GetCommandLineArgs.GetValue(3
-
- Can table's data still Update when the text of the textbox of the table is defined by Sub?
by Yutong
- 2 Replies
- Last post
by Yutong
- Can table's data still Update when the textbox of the table is defined by a Sub
Here is an example:
Code Snippet
Public Class Form1
Private Sub NamesBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.Validate() Me.NamesBindingSource.EndEdit() Me.TableAdapterManager.UpdateAll(Me.NamesDatabaseDataSet1)
End Sub
Private
-
- i have question about print
by jin katama
- 10 Replies
- Last post
by Markizano
- i have doubt
in vb 6.0
we use print statement to print the text
in vb.net what method/function to do that thing
-
- Solve Linear Equation
by Heat
- 3 Replies
- Last post
by Heat
- I do not know where to start, can anyone please help me gain a start on this.
I am not asking for code, but for a simple English Infrastructure on how this should work.
Linear equation with in n demission.
AX=B
a 11 X1+a 12 X 2 +.....+a 1 nX n = b 1
a21X1+a22X2+.....+a2nXn = b2
------------------------------------------------
an1X1+an2X2+.....+annXn = bn
-
- How to use DllImport and Fix the error ?
by kawing0510
- 9 Replies
- Last post
by nobugz
- Dear everyone,
I have written a managed C++, and then used it to C#.
I have written the code like this ======================================= [DllImport("ManagedFour.dll", EntryPoint = "Test")] public static extern void Testing(); =======================================
in order to call the Test in the dll.
However, there is an error like this: ==================
-
- determining activerow in Spreadsheet Web Component
by Jon1s
- 14 Replies
- Last post
by js06
- hi, i can't determine the active row using this web component there doesn't seem to be an activerow /activecell command to return that integer does anyone know how i've got this but it always returns 1 no matter what row i have selected
Code Snippet
Dim i as integer i = Me.AxSpreadsheet1.ActiveSheet.Cells.Row Thanks! P.s Does anyone know of any good information on this componet
-
- how do we update our program?
by pinoyz
- 5 Replies
- Last post
by pinoyz
- how do we update our program for example i have a finish product and i install it to user's computer...in form1 i have datagridview and a button!!! i want to update my program and put some search button and textbox... how do we do that
i saw some option when i publish my work to update... it require's a server... can we do that in shared computer how can i update my software install it again
-
- Help with Null in Access Database
by GSleeves
- 12 Replies
- Last post
by GSleeves
- I am trying to access data from an Access Database and manually place it into a DataGridView. The DB contains some fields that do not have data in them. When I try to access data from a field without data I get an error stating "The value for column 'Data1' in table 'MyTable' is DBNull". I have tried the following ways of checking for Null data without success:
Dim i As Intege
-
- Troubles with timer
by Ravencraft
- 14 Replies
- Last post
by SJWhiteley
- I'm trying to get splashscreen2 to be displayed for a length of time (5 seconds) then to display form6.
I've figured out to display form6 with:
Dim e as New Form6
e.Show()
But I can't get it to work, as I am having some problems getting the timer to inilize and, well, everything in general. Tried the help files, But can't quite figure it out...