Topics
-
-
- Leaders
- 3 replies
- 2.8k views
Im taking a c++ class and im stuck on how to do something. If anyone can help me that would be great. Im trying to keep count of how many times a user enters a value and display it. Im not sure how to go about doing that in c++. Thanks
Last reply by kenshin, -
-
-
- Administrators
- 1 reply
- 1.2k views
I wonder if anyone can help me with this: I am using vbc.exe from the command line to mak a dll with the following code: vbc /t:library Catalog.vb /out:bin/DataLayer.dll /r:System.dll I get two messages: command error 2001: Catalog.vb cannot be found command error 2008 no input sources specified I would be grateful if anyone could help me to solve this problem. For some reason vbc.exe cannot find Catalog.vb Many Thanks Marti
Last reply by PlausiblyDamp, -
-
- 2 replies
- 998 views
How Can I Write Something to my database. for example I have a string that I want to write it in aspecific cell of database. When I use the DataAdapter.Update method, it generates an Error. Please help me.
Last reply by Nate Bross, -
- 6 replies
- 2.9k views
is there support in .net for creation and handling of zip compressed files? thank you
Last reply by neodammer, -
-
- *Experts*
- 4 replies
- 2.1k views
Hey guys, long time no see. I'm just studying ASP in college at the moment, and it seems a little easier than PHP (going back to roots, I'm better with VB than Java!) - however, I was wondering whether ASP.NET was compatible with MySQL databases, or just Microsoft's own SQL? Additionally, I know both PHP and ASP are interpreted rather than compiled, but is there a significant performance difference between the two? Cheers peeps, CryoEnix
Last reply by neodammer, -
-
-
- Administrators
- 2 replies
- 939 views
right i have a filelist that i want the user to select one file by double clicking. then it will pass it to a list box in to a que but before it passes that file to the que i need a name assoiated with that file ie when double clicked it will ask for a name then pass it to the file list box with the file name and the name the user gave ie Mike ---------- file name diane---------- file name then i am going to pass that file one at a time to winamp for playing so i must keep the file path somehow.. anyone anyideas how this can be done
Last reply by mike-wigan, -
-
-
- Administrators
- 4 replies
- 1.4k views
Hope this is an easy one to fix. :) Basically I want to delete all records from the Account_Table that match the User_Name. There are dozens of records that match. I can delete one record using basically the same code if I match by ID. Any help is greatly appreciated. Thanks, Rankun I.E. ID (P-Key) User_Name Date * Action * 001 Jon Doe 09/17/2005 Should be deleted 023 Jon Doe 09/18/2005 Should be deleted 034 Jane Doe 09/17/2005 Should not be deleted 067 Jon Doe 09/23/2005 Should be deleted Here is my code: Private Function DeleteAccou…
Last reply by PlausiblyDamp, -
-
-
- *Experts*
- Administrators
- Leaders
- 33 replies
- 3k views
I am trying to make the transition from VB.6 to . NET. I have made a little program and now I would like to use it on other machines. It would suit me fine if I could just run it from a CD or something and not have to install it, but I want it to run where there is no VisualStudio IDE. How do I do that? All the deployment stuff in the help ( help? ) has me baffled. Thanks .
Last reply by realolman, -
-
-
- *Experts*
- 3 replies
- 846 views
hi .... i have 14 buttons with 14 tool tip names taken from an array soundname(13) so when i mouse over i run this Code: Private Sub btnSdOne_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSdOne.MouseHover Dim tooltip1 As New ToolTip tooltip1.SetToolTip(btnSdOne, SoundsName(0)) End Sub witch is fine untill you change the setting of the sound name (witch you can in the setup menu) then the last value is still there for one second then it shows the new value and same if you change it for a third time you mouse over then the tool tip will show first value wait a second then show last…
Last reply by mike-wigan, -
-
-
- *Experts*
- 3 replies
- 1.3k views
I cannot compare colors, I have a box and I want the program to search each pixel to the left until it finds one that is not white, I just need to know how to programmitically in visual basic.net compare colors. Any help given is greatly appreciated.
Last reply by DiverDan, -
-
- 2 replies
- 1.3k views
can some tell me how i can get the first row of a datatable and put it in an arraylist... thanks in advance...
Last reply by TripleB, -
- 1 reply
- 6.1k views
Hi to all, I have an excel where i read the information to a listview. I connect to the excel file through OleDb and put it in a OleDbDataReader. Now i have 2 processes that i run with the information. The 1rst one i read each row and confirm if certain information is in the excel. Then in the 2nd process I re-read the information and transform it. My problem is that in the 2nd processe i dont what to query the excel file again so i reuse the DataReader of the 1st process, but it seems that the DataReader is in the last record and does not enter in the While. So how can I "reset" the DataReader to the first record?
Last reply by TripleB, -
-
- *Experts*
- 3 replies
- 1.2k views
I have a PPC app that I am transferring about 300 records from an SQL connection to my SQLCE database. Currently I am filling a datareader, doing the following. Do while sqlDR.read 'Write record to sqlCE database. loop This is painfully slow but it works, I do not want to do anything fancy like syncing to sql server through IIS. Is there a way to fill a datareader, then pass said datareader object over to the sqlCE database. I am sure it will still take a moment or two, but I am also sure it will be more efficent than a record by record loop. Any thoughts or examples? Thank you.
Last reply by 95se5m, -
-
- 2 replies
- 9.1k views
I am writing a webservice in C#.Net. I added the reference to Microsoft.Office.Interop.Word. When I attempt to do Documents.Open, I get the following error: Can someone pleease help. Thanks Guha Error System.Runtime.InteropServices.COMException (0x800A1066): Command failed The Code: strWordTemplateFile = Server.MapPath(AppSettings.SupportingDocumentsLocation + "/LicenseOrderConfirmation.doc"); strWordDocumentFile = "c:\\temp\\LicenseOrderConfirmation.doc"; objWordDocumentFile = "c:\\temp\\LicenseOrderConfirmation.doc"; Microsoft.Office.Interop.Word.ApplicationClass objWord = new Microsoft.Office.Interop.Word.ApplicationClass(); System.IO.File.Cop…
Last reply by gprabaka, -
- 1 reply
- 1.8k views
Help me with this sample code: // create dataset and datatable DataSet myDataSet = new DataSet("myDataSet"); DataTable myDataTable = new DataTable("myDataTable"); // add column to table myDataTable.Columns.Add(new DataColumn("c1",typeof(int))); // create datarow array of 3 rows DataRow [] dra = new DataRow[3]; // setup row 1 dra[0] = myDataTable.NewRow(); dra[0][0]=0; // setup row 2 dra[1] = myDataTable.NewRow(); dra[1][0]=1; // setup row 3 dra[2] = myDataTable.NewRow(); dra[2][0]=2; // merge rows into dataset myDataSet.Merge(dra,true,MissingSchemaAction.Add); // accept changes myDataSet.AcceptChanges(); // write row count System…
Last reply by kasdoffe, -
- 1 reply
- 964 views
First off, I'd heard that 2005 was going to come with a grid control. It may still, but it's on in my RC1 standard tray. Secondly, *** is up with ListViewGroups only being availalbe on computers with XP and the visual styles turned on!? What, was microsoft too lazy to just impliment it's functionality. Instead they made it XP only compatable? Unless you're doing an inside app for XP only machines, it might as well not be there as an option. Third, why is there a Treeview (I hope it has the standard functionality that 2003 lacked) and a ListView, but no way to turn nodes on the listview or add columns to the list view? It must be the rogue control nobody wants... b…
Last reply by neodammer, -
- 1 reply
- 715 views
can someone tell me how i can loop through a datatables first column values and put it in an array.. thanks in advance
Last reply by rfazendeiro, -
- 0 replies
- 827 views
i have 3 controls Combobox (DriveList) Listbox (FoldersList) ListBox (FilesList) i just can not get the folders list and the files list box to fill with data not sure what i have done just have a look through the code there are no build errors or run errors all i get is the drives list box filling and thats it the others are empty Imports System.IO Imports Microsoft.Office Imports System.IO.Directory Imports System.Runtime.InteropServices Imports System.Threading 'file browser modern = Date.Now 'task.SelectedIndex = 2 E_Path = TextBox1 On Error Resume Next If DrivesList.Text = "" Then DrivesList.Items…
Last reply by mike-wigan, -
- 2 replies
- 789 views
hi to all, I have a list view where i fill it with items that come from the database. The user can then change the view mode to details, large icons, list, small icons. What I wanted is when a user presses the F2 key and a item is selected, it would allow the user to remame the item just like Microsoft windows does. I am aware of the event KeyPress but i have 2 problems. 1) It seems it does not detect the F2 keys press. All he other key function except for the Funtion Keys (F1, F2, F3....) 2) How can i make the rename?
Last reply by rfazendeiro, -
- 2 replies
- 969 views
Hi guys, Hopefully someone can shed some light on this weird problem: If have an .ascx with standard form controls in it, the section in question is: ... <TR> <TD> <asp:Label id="LblVenueCounty" runat="server">Venue County</asp:Label> </TD> <TD> <asp: DropDownList id="DDVenueCounty" runat="server" OnSelectedIndexChanged="PopulateTown" /> </TD> </TR> ... The form displays fine until I add "OnSelectedIndexChanged=PopulateTown" to 'DDVenueCounty'. As soon as I add this bit of code the entire form is not rendered. So the above example does not work, but this does: ... <TR> <TD> <as…
Last reply by ianmcinnes,
-
Who's Online 0 Members, 0 Anonymous, 55 Guests (See full list)
- There are no registered users currently online