Topics
-
- 1 reply
- 7.3k views
I have run into a little problem, I have an XML document that I read controls from and instance them to a form. What I want to do is without if statements, cast a string color like "White" to System.Drawing.Color. Any help would be greatly appreciated.
Last reply by kentheprogger, -
- 0 replies
- 1.1k views
was trying to add this column after i populate my datatable dt.Columns.Add(New DataColumn("ID", GetType(System.Int16))) dt.Columns("ID").AutoIncrement = True dt.Columns("ID").AutoIncrementSeed = 1000 the column is added but it doesnt show the value after i bind it to a datagrid/gridview anyone havin this same prob? btw, im using VS 2005 Express
Last reply by lamy, -
- 1 reply
- 3.1k views
Hello, I have this regular expressions (thanks to jo0ls for providing it) ([A-Za-z0-9']+)|([^A-Za-z0-9']+) But I would like to add the functionality to also detect in the first class words that have a number attached to them, for example 9word word9word word6 ... The first cass DOES this but it will also detect numbers that are all by themselves without a word attached... and this is what I am trying to avoid.. any ideas? e.g: word -> matches first class word9 -> matches first class 9word9 -> matches first class wo9rd -> matches first class 8 -> matches second class 10 -> matches second class any other char -> matches second class
Last reply by mark007, -
-
- Leaders
- 11 replies
- 1.8k views
I have a panel, and inside theres many labels and pictureboxes. Basically, I want to be able to catch the users click event whether its on a label, or the panel, or anything else and do something. I am aware of how to catch a click event on a particular label/picturebox, but there has to be a better way to do this. Thanks.
Last reply by snarfblam, -
-
-
- Administrators
- 2 replies
- 1.4k views
Hello Everybody! I'm new to this forum, actually this is the first forum I joined. I've been programming with WinSock in VB6 and Sockets in VB.NET. My problem is, how can I send raw packets like the Windows Packet Editor. Well, basically I'm creating a custom Ragnarok Online Client. Thank You for you help!
Last reply by nihk, -
-
- 20 replies
- 3.5k views
How do I access the existing fields on a CrystalReport Designer? I mean, imagine that I create a TEST named text field in CrystalReport1.rpt and I would like to access it like: CrystalReport1 myReport = new CrystalReport1(); myReport.? //now what? Tks in advance!
Last reply by grolch, -
-
- Administrators
- 2 replies
- 864 views
I am designing a program that grabs PictureBox information from an XML file and puts them on the form. I want to have an EventHandler that handles every PictureBox I create, which I have done. The problem is that in order to identify which PictureBox has been clicked I need to get the name. I would think that this would be extremely easy but I have not found a way to do it. Here is some sample code: Public Sub createButtons() Dim i As Integer For i = 0 To UBound(buttons) If buttons(i).Name <> "" Then PBWEB = New PictureBox With PBWEB .Size = buttons(i).Size …
Last reply by kentheprogger, -
-
- 0 replies
- 672 views
I want this extension object to return a link. But the function does not execute in scripting events. It will execute if put as a "value-of". Actually, what I'm trying to do is create a new document each time a node is clicked so the node appears to embedded. Is this a good way to do this? public class DisplayX { public string Insert(XPathNodeIterator xni) { return @"top.location.href = 'C:\StockData\ZZZZZZZZ.htm';"; } } <?xml version="1.0" encoding="utf-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:DisplayXObj="urn:DisplayX"> <xsl:template match="FoundTabl…
Last reply by onez, -
using ngen
by linesh- 0 replies
- 1.2k views
Is there any tutorial/help on using NGEN to pre-compile an assembly at installation? Here is a link from Microsoft but this is kind of confusing. http://msdn2.microsoft.com/en-us/library/3hwzzhyd(VS.80).aspx
Last reply by linesh, -
- 0 replies
- 8k views
Foreward I recently ran into a very annoying problem whilst developing for the Pocket PC. How to create an application that was full screen? The simple answer to this is you create a Form with it's WindowState property set to Maximised and set the Menu property to null. I wasn't happy with this however as although I didn't want the TaskBar and the SIP Icon, I still wanted to allow a menu. Solution 1 Many places I looked suggested that the way to get around this was to use the SHFullScreen API. The way this works is by moving the items passed into dwState below the object with the windows handle passed into hwndRequester. I'm not going to go into too much detail, but …
Last reply by Cags, -
- 2 replies
- 892 views
Hello, I'd like to make a form that let's a user pick from a list of drives and folders without using the FolderBrowserDialog. I would like the drive list to look like the standard XP drive list. I would like it to include "My Computer", "Desktop", and all the other XP locations. The problem is that the DriveListBox only list drives and not these other locations. Is there a control that looks more like the standard XP drive list. I'm using Visual Studio 2005. Thanks!
Last reply by CJLeit, -
- 0 replies
- 1.2k views
I have an interesting question. I want to be able to parse some info from the video stream on DVD playback. But that means that I need to access the stream before it is rendered. What can I do to get the IMediaSamples from the Filter Graph? I have looked around a bit looking for some method. When I try to connect one of my own filters to the decoder I get errors. Apparently I need some sort of overlay or renderer that will take the right type of pin connections for the ins and outs. I really need to be directed to a sample or some code that will allow me to create such a filter; an overlay or something like it. Thank you.
Last reply by CaptainBli, -
- 0 replies
- 809 views
Has any one ever tried to do such a thing? We have been researching this in effort to make an open ended class/sub-classification system for one of our projects, rather than having to flatten the objects and normalize them into relations we have approached this from a n-ary tree perspective. Really cool stuff, however the foremost authority on this seems to be Mr. Joe Celko and his work on the subject from '96 and then disturbing part is that it seems so elegantly simple despite its relative complexity and makes us wonder why there have not been more references to it in the last 10 years. Has anyone here had any experience with this and its real world? Thanks.
Last reply by PrOpHeT, -
-
- Administrators
- *Experts*
- 4 replies
- 882 views
I want 0.00 instead of 0 in xml file generated by DataSet... Here is situation... While debugging i realese that in my DataSet DECIMAL values are like 5, 10, 0, 10000.. I write xml file with DataSet.WriteXml() and i must have values in xml <Price>0.00</Price> I tryed google, but didnt file any solution... DataGrid corect shows information, in Access attribute (price) is DOUBLE type. (doesn mather) btw I tryed also price = (dobule)0; price = 0.00M; ... Is there any fine solution for this problem, something about xml shema or globalization setting of dataSet... i use en-Us Any suggestion please...
Last reply by veki, -
-
-
- Administrators
- 2 replies
- 1.5k views
I'm trying to call a stored procedure, but i dont think it actually gets that far (thats why its not in the database section). With the following code i get returned the following error : "Invalid cast from 'System.String' to 'System.Guid'. " Dim cmUpdateUser As New SqlCommand("dbo.up_MaintainUsers", conn) cmUpdateUser.CommandType = CommandType.StoredProcedure conn.Open() With cmUpdateUser.Parameters .Add("UserID", SqlDbType.UniqueIdentifier).Value = strUserID .Add("Username", SqlDbType.NVarChar, 15).Value = strUserName .Add("FirstName", SqlDbType.NVarChar, 15).Value = str…
Last reply by Jay1b, -
-
- 4 replies
- 851 views
I am using VB.Net 2003, IDE. When I type a variable name that already has been Dim'd, The IDE doesn't make the variable name Capitalized, even though the variable name definition in the Dim is capitalized. VB 6 will do this. Where is the setting so that this will happen. Someone else here at work uses VB.Net 2003, and his IDE does capitalize variables. I know this sounds minor, but in VB 6 when I type a variable name and it gets capitalized, I know that I spelled it right, and that the editor has "picked up' the variable. Thanks in Advance, John :confused:
Last reply by jo0ls, -
-
- Leaders
- Administrators
- 13 replies
- 1.6k views
I've been chasing down memory leaks here recently and I have come to a point where I'm not sure what is causing it. I have a main form and then a child form that I create and do a showDialog() call some function is performed and then the form closes and I call Dispose(). I've found most of my memory leaks because it used to crash the system after about 25 seperate calls to this form... now it takes about 200. I've been using a Memory profiler by AutmatedQA and it says that all the Live instances of this form are gone after completion, but when I look at the task manager I see three things which may or may not be related and that is the non-paged memory keeps increa…
Last reply by qex, -
-
- 0 replies
- 687 views
In IE, My Favorite DropDown Menu, you can right click on it and get a context menu. I want to do the same thing in my application, however, once I make a right click, the DropDown Menu disappears (the context menu appears though). My question is how to keep the DropDown Menu stay after the context menu appears? Help me out please.
Last reply by Worrow, -
- 0 replies
- 724 views
Sorry if this has been discussed before, but I couldn't find anything quite like my issue in the search results. I've got a problem selecting tabs that are drawn within a custom TabControl class I've created. The class inherits from the standard TabControl and overrides the OnPaint method to draw the tabs. The size (and general look) of the tabs themselves is different depending on which tab is selected. The problem is, I can't get the selectable area of the tabs to reflect their actual size. The selection hotspots for all the tabs are simply the hotspots that would occur if I had used the standard TabControl (where the hotspot is simply governed by the length of…
Last reply by madsnowman, -
- 0 replies
- 973 views
how to read or receive emails from exchange server?
Last reply by kaisersoze,
-
Who's Online 0 Members, 0 Anonymous, 53 Guests (See full list)
- There are no registered users currently online