Topics
-
-
- *Experts*
- 1 reply
- 712 views
Hello, If I use a OleDBDataAdapter wizard to generate Update and Insert commands on my select that is : SELECT Product, [Product group], [Main product], [EIS number], Description, [PCB AN], [sMD lot size], [Finished product], [Machine assembly sequence], [Two side SMD] FROM Products I get the following code for update generated by the wizard: Me.OleDbUpdateCommand1.CommandText = "UPDATE Products SET [Product group] = ?, [Main product] = ?, [EIS nu" & _ "mber] = ?, Description = ?, [PCB AN] = ?, [sMD lot size] = ?, [Finished product]" & _ " = ?, [Machine assembly sequence] = ?, [Two side SMD] = ? WHERE (Product = ?) AN" & _ …
Last reply by Nerseus, -
-
- 0 replies
- 664 views
To help me streamline this project I am working on, I need to solicite opinion. Without being too specific, I am working on a program that will essentially, when tasked, pull a LOT of information and display it for dissemination. My questions are as follows: 1. What is the best way to store this information so that when the user clicks a button or link on the app, it will go to a file, pull ONLY that information the user wants (look below) and display it on a single form. The data base should look like ----------(datafile 1, record 1) worda, wordb, wordc, wordd worde, wordf, wordg paraa parab parac parad parae -----------(datafile 1 record 2) …
Last reply by matt09524, -
-
- Leaders
- 2 replies
- 1k views
According to MS, it seems like GDI+ only works for WinXP... "GDI+ is the subsystem of the Microsoft® Windows® XP operating system that is responsible for displaying information on screens and printers." If the .NET framework is installed on a win98 computer, or any other OS that's supported, can they run GDI+ programs?
Last reply by thenerd, -
-
Functions?
by Getox-
- Leaders
- 6 replies
- 1.3k views
how would i go about making a function? and then how would i use it?
Last reply by bri189a, -
-
-
- Leaders
- Administrators
- 5 replies
- 1.1k views
Is there any way to just get the filename without the path? example: you select file to open and click Open, it then puts the filename without the path like C:\blah\blah.ext it will put blah.ext anyone know?
Last reply by snarfblam, -
-
- 2 replies
- 642 views
Hi all! I have a XML file that is read by a C# program. The file looks like this: <EMailList> <email>eduardo.ferrari@misys.com</email> </EMailList> <EMailList> <email>robert.sirard@misys.com</email> </EMailList> But I want that this file look like this: <EMailList> <email>eduardo.ferrari@misys.com</email> <email>robert.sirard@misys.com</email> </EMailList> But, when I do that my program blows up. The code to read the file is that: public class COpicsXMLOperations { #region XMLConfigFile static public DataSet dsOpicsSystem…
Last reply by emferrari, -
- 6 replies
- 1.8k views
Does anyone knoes how to block the back button of the browser using asp.net or any other ways..thanks 4 any help provided..
Last reply by bri189a, -
- 2 replies
- 1.1k views
I have a textbox with several order items in it. To determine the number of lines, I divided the height with the font size. Cool. Now, to get the total number of lines of text, I used a string array, set it to the textbox, and used stringArray.getUpperbound(0). Cooler. now for the question. If the number of total lines of text (ie order items) is greater than the amount of lines the textbox can hold (ie what the user would see) how can I add the remaining lines of text to another array, and print that off. I know it sounds a bit confusing, but any help would be appreciated. thanks, H.W.B.
Last reply by handlewithbeer, -
- 2 replies
- 1.6k views
I managed to get directX included in my VB .NET project, and I have assigned keys to use, but I am having an issue getting DirectInput to detect it. I'm unsure as to how to go about this, so bear with me. I am uncertain as to how to detect the input of two keys (i.e: Right ALT and M at the same time), then making it call a function. How would I go about doing this? I'd appreciate any help. Thanks.
Last reply by Nate Bross, -
-
- Leaders
- 5 replies
- 1.2k views
Is there anyway or any program that converts an image like this to this in pixelized form? Simple, it take a jpg image and convert it to pixelized form of the jpg image.
Last reply by Souma, -
-
- 2 replies
- 1.4k views
I have a picturebox on a form that displays a transparent gif all fine and well. I wish to copy this to the clipboard so I can paste it elsewhere. Unfortunately using the following: System.Windows.Forms.Clipboard.SetDataObject(f.PictureBox2.Image) Replaces the transparency with a dark blue. Any ideas on how I can achieve this? :)
Last reply by mark007, -
-
- *Experts*
- 8 replies
- 1.1k views
well, my groupmates and i are working on a project. we're creating a new programming language and we're using c#. i'm new to this obviously that's why i need all the help i can get. i have a tabcontrol where i can programmatically create a textbox added in a tabpage in the said tabcontrol using the "open" and "new" on my menu. i was able to do the "open" menu by reading from a file and setting it as the text of an instantiated textbox added in an instantiated tabpage. the problem is i cannot get the text from a textbox so that i could create a file and "save" it there. please help me. i would really appreciate your help! thank you very much!
Last reply by mbacarra, -
-
-
- Administrators
- 2 replies
- 1.2k views
Hi, I'm not sure if this is the correct Forum for this thread, so if any Mods would like to move it? I'm new enough to .NET, and am starting to work with WriteXML. I've created a Dataset, created a new table, created a row object, added the columns to the row, created a new row for the table as my defined row, and added 1 row of data. From here, I want to use the WriteXML. I've done this specifying the dataset and the table name, and the file was saved successfully. When I open up the XML file though, the Element Names in the XML do not match the Column Names in the Table, specifically the Column Names that start with a number 0, have been changed. E.g. Colum…
Last reply by joker77, -
-
-
- Leaders
- 2 replies
- 895 views
I have a tab control on a form with three tabs each tab has three list views on them. They are but as an array at runtime. Everything is working well. The I built a sub that will load the last saved data into each list view. when I do this everything goes well until the sub is finished. then on two of the tabs all of the listviews are gone. I put the sub in a thread I couuld pause and when the "loop" has gone through all of the list views everything is there once the sub is complete and the tab page is indexed to 0 showing the first tab the listviews and data are gone from the other two. This happens on to the second and third tab. Any thoughts? ZeroEffect
Last reply by ZeroEffect, -
-
-
- *Experts*
- 2 replies
- 858 views
Is there any way to make a global string? i want to have 2 forms, and in Form2 the user will type some text into a textbox, and then when they click an OK button, it will add this text to a string which will then be usable in Form1
Last reply by Getox, -
-
-
- *Experts*
- 5 replies
- 931 views
I've created a simple Stored Procedure: Create proc Test @Description varchar(100) as exec ('Select * from media where description in (' + @Description + ')') When i try to execute the procedure like this: Test ('forest') or exec Test ('forest') i get the following error message: Server: Msg 170, Level 15, State 1, Line 1 Line 1: Incorrect syntax near 'forest'. I'm guessing there is something wrong with the procedures' code, but i couldn't find out what.... Thanx
Last reply by Puiu, -
-
-
- Leaders
- Administrators
- 3 replies
- 2k views
I was looking over the Windows Media PLayer and was wondering how I might create the same effect. As far as the Art to create the UH I guess we would call it a Skin I can create the art but how do I make the visual Basic Form not show so that only the Skin shows. Now, on the Windows Media Player if you mouse in the area of the top of the skin the FOrm appears..... I find that annoying so I am going to exapand my question to how might I make it so it stays hidden and does not re appear into view. vbMarKO
Last reply by snarfblam, -
-
- 3 replies
- 1.5k views
I am new to C++ and .NET appication developement and have some very basic questions. 1. How do I make a linklabel work? I have seen some templates out there, but they fail to compile... apparently the templates are trying to use a sub class that is not defined and that provides all sorts of compilation failures. Anyone have good code including any classes I need to load up and how to do all that? 2. I've got this form all designed out... How do I make it so that when the button is clicked, the current form changes to the next step in the program? Also, with regards to this, how can I make it so that there is like a "return to beginning" button/link that will ta…
Last reply by matt09524, -
- 0 replies
- 628 views
i made a designer class for a user control (childUC), which is a direct child of another user control(parentUC). the childUCDesigner is brought up through the DesignerVerb... when i am in a form designer of one form, having parentUC as its child, how do i bring up childUCDesigner??
Last reply by alanchinese, -
-
- Administrators
- 4 replies
- 1.3k views
Any way to get the hex code of the color from the ColorDialog? My code: codebox.SelectedText = "<font color='" + ColorDialog.Color + "'>" + codebox.SelectedText + "</font>"
Last reply by Getox, -
-
Who's Online 0 Members, 0 Anonymous, 37 Guests (See full list)
- There are no registered users currently online