Topics
-
-
- Administrators
- 2 replies
- 8.4k views
Why doesn't this work ?: foreach (DataRow dr in dataTable.Rows) { //Nieuwe class vullen cust[cust.Length + 1] = new Class_customers(Int32.Parse(dr[0].ToString), dr[1].ToString, dr[2], dr[3], I'll get te following error: With Int32.Parse(dr[0].ToString): Methode for Int32.pars has some invalid arguments dr[0].ToString : Argument cannot convert from 'method group' to 'string' Whats wrong ? :(
Last reply by Jelmer, -
-
- 0 replies
- 897 views
hi, how can i use a usercontrol made with vb.net inside vb6?? as vb6 only accepts *.ocx files, what do i need to do? thx & greets matthias
Last reply by natarius, -
- 1 reply
- 666 views
I have a table in which the user enters a table name and a column name. I would like to add a constraint that would only accept valid combinations of table and fields but don't seem to be able to use a subselect in a constraint I am using MSSQL 2000. Please help :)
Last reply by rmatthew, -
-
- Administrators
- Leaders
- 7 replies
- 1.3k views
Hi Guys, Im aware that framework 2.0 comes with some additional controls which framework1.1 does not support like menu,treeview etc Previously i already have framework 1.1 installed on my machine.. Then i downloaded Framework 2.0 redist x86 from microsoft site so that i can try out the menu and tree control..But after installtion and restarting my machine, i still dont see any additional controls which framework 2.0 supports.. Im using windows xp and i have my service pack up to date Has anyone encountered this issue? No idea why its still showing the old set of controls thanks in advaance
Last reply by a1jit, -
-
- 1 reply
- 1.4k views
Hi, Is there any way I can limit the fonts shown in the fontDialog component to specific fonts? I like being back to set label.Font = fontDialog.Font; so I'd like to use the fontDialog if possible rather than creating my own, but I can only allow certain fonts to be shown. I haven't been able to find this anywhere, does anyone know if it's possible? Thanks :)
Last reply by 3xodus, -
-
- Administrators
- 2 replies
- 2k views
I an trying to do some basic image processing on the GPU in HLSL for DirectX for speed and have run into an interesting problem. I have figured out how to create a surface to render to (because I don't want to display to the screen) that is the exact same size as my input image. If I create a simple pixel shader that simply takes the color from TEXCOORD0 from the input texture and outputs to the output texture I would expect the input and output images to be identicle (because their dimensions are identicle). However the output image looks slightly blurry compared to the input image making me think that directX did not process the input image on a pixel-by-pixel basis,…
Last reply by PlausiblyDamp, -
-
- 2 replies
- 1.9k views
I've just started using VB recently so forgive me if i did not use any correct terminologies I am creating a program that will allow me to add items from one listbox1 and into another listbox2 and by clicking a button, i can save items from listbox2 into my datasource (my microsoft access table). Now my problem is , if i want to retrieve the datasource back to the listbox2 by clicking another button, how can i do it? I know i can't set the datasource and displaymember of listbox2 from the properties at the "design" window because by doing this way , i cant add items into listbox2 from listbox1. I have tried ways like , creating a button and by clicking that but…
Last reply by Joe Mamma, -
- 1 reply
- 1.5k views
Hi all, Is there a way to bind a hastable to datatable inside a dataset? If not, what would be the best approach to get the data into it? I would have thought looping through the datarows and adding value pairs to the hashtable would not be the most efficient method. Thanks
Last reply by Joe Mamma, -
- 1 reply
- 2.1k views
Ok, I'm having an issue. My companies program uses the AXwebBrowser to display product information. The information can come in the form of a webpage, a PDF document, info from SQL or a Word document. All of these work, even the word document...however when the word document tries to display I get the Open/Save/Cancel dialog box. I want to suppress this box. Now, from what I've found out...this is not typically a problem of Windows forms...this is a problem mixing Windows Forms, computer settings and webpage control... Anyone got any leads? I've looked all over the internet for this and can only find the question...not the answers.
Last reply by Joe Mamma, -
- 1 reply
- 704 views
I have a datagridview and I have a collection of items that I'll call skills. Each skill has a few properties: Name, Description, Type, etc. I took the class "Skill" and made a datasource out of it and hooked it up to the DataGridView. The form created a BindingSource for Skill as well. So I have a collection, a datasource for the item & a grid. Is there a way to fill it up or connect the two? Is there a particular collection I should be using; or a particular interface the collection should be exposing?
Last reply by Joe Mamma, -
-
- Leaders
- 4 replies
- 1.3k views
Hi. I'm drawing with GDI+ a lot in my app. I have a lot of memory leaks. I thought, that this is becouse I do not dispose graphic objects. So, which gr. objects do I need to dispose? Is there a list anywhere? like: pen ?, brush?, image?, ...??? tx, matej
Last reply by snarfblam, -
-
-
- Administrators
- 2 replies
- 729 views
Hi!. Does anyone know how one would go about monitoring or fetching info in some system log about login attempts that has failed. The application would be running, where upon the user would "lock" Windows. And I need to be able to keep track of login attempts. For instance if someone were to try and log on to my computer i'd later be able to see the time and such for the event. Is this possible somehow? EDIT: On Windows XP systems.
Last reply by Varghjärta, -
-
- 4 replies
- 1.5k views
1. What would be better to use: a form with a tab control that has around 20-25 tabs or a mdi form with 20-25 forms ? The user doesn�t see the tab pages, he moves between them using linkbuttons. 2. I have multiple textboxes where I want the user to insert only numbers. So far I thought about 2 ways to do this: I either let them write anything in the textbox and then check each character to see if it�s a number, or I can create a sub that handles the keypress for the textboxes
Last reply by Cags, -
-
- Administrators
- 4 replies
- 840 views
I've got a collection of 'SearchResults' that I convert into an ArrayList of custom classes, because the collection has a large amount of data I do not care about. Custom Class Deffinition Public Class Item Dim sTitle As String Dim dPrice As Double Dim dBuyIt As Double Dim sItemID As String Dim sURL As String Dim dStartDate As Date Public Sub New(ByVal sT As String, ByVal dP As Double, ByVal dB As Double, ByVal sID As String, ByVal URL As String, ByVal dSD As Date) sTitle = sT dPrice = dP dBuyIt = dB sItemID = sID sURL = URL dStartDate = dSD End Sub Public Property Title() As String Get …
Last reply by Nate Bross, -
-
-
- Administrators
- 2 replies
- 1.3k views
Hi, Is there any articles about .net 2.0 that points out important things about it that everyone should know about? I have my apps in .net 1.1 but I'm moving them to 2.0 and I just wanted to know if there is anything I should really know about the 2.0 framework.
Last reply by PlausiblyDamp, -
-
- 0 replies
- 842 views
*RESOLVED* - runtime clear combobox and reload - breaks I just figured out what's happening. I have cboRev which is populated based on cboUnit, just like cboUnit based on cboJob. So when I'm setting the text on cboUnit, the change event for cboUnit is being called. So now I just have to figure out what to do with that and I'm golden. This should have been my clue; i have a boolean that tells the change events not to run on form load. Anyone know a cleaner way of doing that?
Last reply by alreadyused, -
- 2 replies
- 1.3k views
1. In asp.net you can store data in the cache safe in the knowledge that if memory is a problem some of it will be dumped. I am creating a dll that will serve as an Excel addin. Within it there will be times at which an extremely large number of calculations will be carried out. Alot of the intermediate results will be the same though so I wish to cache them under a string id of the calculation arguments. I could obviously do this using a hashtable easily enough however I was wondering if there is a built in cache that will manage situations when memory runs low as per in asp.net. 2. If anyone can think of a better=faster way of storing intermediate results other than …
Last reply by mark007, -
-
- Administrators
- *Experts*
- 4 replies
- 715 views
Í build a class file. But a little problem. I like it that the class has a function that returns something (an integer in this case) to the main file. So this is the incorrect part of my class: public void aantal_klanten() { int hoeveelheid; try { OleDbConnection Connection = new OleDbConnection(); Connection = dbase(Connection); // Create an OleDb command, OleDbCommand myCommand = new OleDbCommand("count (*) from Bedrijven", Connection); Connection.Open(); OleDbDataReader myReader = myCommand.ExecuteReader(CommandBehavior.C…
Last reply by Jelmer, -
-
- 0 replies
- 750 views
I am trying to create a new SSIS package in SQL05 using Visual Studio. I'm having a hard time getting off and running. There are alot of docs out there. All I need to do is set up a package that sucks two tables out of an Oracle db and brings them over to a SQL 05 db at a set time each day. So I need some kind of timer or schedule funtionality. I would like to avoid using an exe and windows scheduler. Is this even possible to do? Is SSIS what I need? Can I program this in C#? Basically I'm looking for a link or two that can get me started. Thanks
Last reply by VBAHole22, -
- 0 replies
- 976 views
Hi My company is planning to install a new barcoding solution using wireless handheld barcode scanners running Windows CE. We would like to develop this 'inhouse'. For a previous system we brought in a separate company to handle the handheld scanner side of things. This used Windows CE, something else to handle a connection and then a .NET interface. Personally i cant see why they used or needed the middleware. Does anybody have any ideas? I would of thought that as the handhelds which have built-in wireless, a .NET program on them could connect to a SQL server the same way as a normal client? I have no experience with programming .NET for CE so if anyone …
Last reply by Jay1b,
-
Who's Online 0 Members, 0 Anonymous, 61 Guests (See full list)
- There are no registered users currently online