Topics
-
-
- Leaders
- 3 replies
- 2.6k views
i want to be able to click a button on a form, which will make a piece slide out of or appear at the side of the form, which i can close again without closing the form. the piece that slides out/appears is to contain more controls. is this possible?
Last reply by snarfblam, -
-
- 0 replies
- 1.5k views
I need to draw a 2D line onto a hDc using Directdraw....can some1 help me? thanks!
Last reply by RealGhost, -
- 0 replies
- 782 views
Alright guys i'm stumped, i've been searching multiview examples online and i get the concept, however since my multiview is embedded inside the loginview control, i have no way of accessing the multiview control via code, it's not listed in intellisense or anything and manually typing it doesn't work, for some reason multiview isn't exposed, any help?
Last reply by Winston, -
- 3 replies
- 4.8k views
There is a C++ function that I have used in Borland called SHGetSpecialFolderLocation that is actually a Microsoft API call. I'm looking for something similar to this in C#. Does it exist? Can I still use C++ APIs in C#?
Last reply by joe_pool_is, -
- 1 reply
- 1.9k views
is it possible to make a row, or a cell in a datagrid multiline, so that all the text it contains is visible without scrolling?
Last reply by HJB417, -
-
- Leaders
- 4 replies
- 2.1k views
Hi to all, I'm looking for a diferente king of progress bar. Well i don't if we can call it a progress bar but what i want is something like when you start windows xp and you get the black screen with windows xp logo and a that "progress bar" at the botton. Is the anything like that in .net?
Last reply by dynamic_sysop, -
-
- 0 replies
- 2.5k views
I have a form with a ListView and a DataGridView. The form resizes itself depending on how much info is in these two controls. Resizing the DataGridView was easy because I just added up the Row heights. The ListView should be easy too because I can use ListViewItem.Bounds.Height to get the height of each item. But no... I am using Groups in my ListView and I can't see how to return the height of the Group.Header as they have no Height property. Any ideas?
Last reply by Reapz, -
- 0 replies
- 1.1k views
transparent textures from gdi Hello, I'm trying to use the alpha channel of a gdi bitmap, but it isn't working.. does anyone know how to do it? Bild = new Bitmap(200, 200, System.Drawing.Imaging.PixelFormat.Format32bppArgb); Graphics g = Graphics.FromImage(Bild); //those lines also didn't work // SolidBrush bop = new SolidBrush(Color.Green); // g.FillRectangle(bop, 0, 0, 200, 200); // Bild.MakeTransparent(Color.Green); Font f = new Font("Verdana", 30); SolidBrush b = new SolidBrush(Color.FromArgb(255, 255, 0, 0)); g.DrawString("Just one line!", f, b, 5, 40); ReadyTexture3 = Texture.FromBitmap( device, Bild, 0, Pool.Manag…
Last reply by Staeff, -
-
- Administrators
- 8 replies
- 3.2k views
I am writing a data acquisition application for our sensor testing and calibration area and have run into a problem. I had the application working great using a single-thread with Do Events in the looping structures, but didn't like the responsiveness of the UI. So, I did some research and came across the MSDN Magazine Basic Instincts articles on delegates and updating the UI from a secondary thread. It is a great series of articles, which gave me good insight into what I wanted to do. However, implementing it in my application is causing me all kinds of headaches. I use the following method to update my UI from the data acquisition asynchronous method: '---…
Last reply by tfowler, -
-
-
- Leaders
- 7 replies
- 1.9k views
Does anyone have a function that will take the coordinates of 2 lines (that are in the same plane) and compute the intersection point? TIA
Last reply by Mick Dugan, -
-
- 2 replies
- 2.8k views
Hi All, Am unsure If I am doing this correctly. I have a Access DB, I have 2 Tables (StaticAssets) & (IssuedAssets). Static Assets contains all the Assets Details (i.e AssetNo, Equip0, Ser0, Qty0, Type, Classification, SystemName, OS, etc) Issued Assets contains all the info from StaticAssets plus the Issued information (i.e. SigneeName, CourseName, CourseDates, SigneeWing, SignOutDate). Issued Asset contains only the Assets that are issued out. What I am trying to do is list all the Static Assets in a datagrid, (No Problems There). If any of those assets are Issued then have a plus sign and display the issued info. Here's my Code so far. ' Set strD…
Last reply by sunu_moon, -
Database with .NET 1 2 3
by Madz-
- *Gurus*
- Moderators
- *Experts*
- 55 replies
- 8.5k views
I use MSSQL Server ,and still not touched orcle. with cross platform development i like MYSQL the best.
Last reply by kurf, -
-
-
- *Experts*
- Administrators
- 12 replies
- 1.5k views
I have written several applications in VS6. I am slowly converting all of them to VS 2003/2005. One conversion issue I am having, is that I have several (20) sequential database updates to do to several tables in . In VB 6 I would just keep using the same connection and then close it after all the updates finish. However, when I try the same thing using VS2003 I have to close then reopen the connection to avoid errors. Am I missing something, Or is this better in the long run. Or, has 2005 fixed the behavior.
Last reply by kurf, -
-
- 1 reply
- 753 views
I'm looking for a unit tester to do my presentation layer. I currently use NUnit to test my business and data access layers, but I need to be able to regression test the GUI easier...does anyone have any free suggestions that would itegrate with NUnit or another 'free' tool that works well?
Last reply by bri189a, -
- 2 replies
- 2.9k views
Hey all you GDI+ gurus, I'm trying to define a region based on the results of a floodfill. The user draws freeform on a picturebox, then clicks in any enclosed area. I can fill the enclosed area rapidly just fine. However, I now want to define a region based on what was filled. One idea was to collect the points during the floodfill that are on the original path. While this is slow, it's even slower trying to rearrange the resulting collection of points into a new path (the collection is in a pseudo-random order). Another idea is to collect the points in the path that enclose the selected point, define that as a region, and just do a FillRegion. However, sometimes…
Last reply by LianaEnt, -
- 3 replies
- 1.8k views
I found this little coffee shop across the street from where I work. They have a Virtua Tennis machine. For a quarter you can play the whole game (depending on how good you are). Virtua tennis is awesome.
Last reply by Diesel, -
- 1 reply
- 743 views
How can I calculate the size of a file on my web server? Mike55.
Last reply by HJB417, -
- 8 replies
- 1.5k views
I am trying to have 2 options when clicking a button that opens a web site. 1. Open in current browser. (This works) 2. Open in new browser. Here is what I am using. If chkbxNewWindow.Checked = True Then ????? Else Response.Redirect(HyperLink) End If *Note* Hyperlink is a variable containing a website address. Thanks again, Rankun
Last reply by HJB417, -
- 14 replies
- 1.3k views
Hi all, I have the following javascript that prevent someone typing more that 145 characters in a text box. However the problem is that it is for a web page, and needs variables such as the form name etc. How can I implement it on a user control. Am using a string variable and enclosing each line of javascript with the following: script &= " [i]Javascript code[/i] " & vbCrLf I then user the following code to register the entire javascript: If Not Page.IsStartupScriptRegistered(scriptName) Then ' Register the script. Page.RegisterStartupScript(scriptName, script) End If End Sub Here is the javascript that…
Last reply by HJB417, -
- 1 reply
- 960 views
Hi, I have a really quick routine for finding next file to read, but I thought it would be great to have it running in the background and restart it when it's needed. I tried to create the thread in the constructor and call it for the first time from there. _trdFindNextFile = New Threading.Thread(AddressOf FindNextFile) _trdFindNextFile.Start() And when I need it again I tried _trdFindNextFile.Start() Private Sub FindNextFile() Trace.WriteLineIf(trcMainTrace.Info, "Looking for next log file", "cReadDemo.FindNextFile") _NextFile = _File _trdFindNextFile.Join(0) End Sub But I get an error telling me the th…
Last reply by HJB417,
-
Who's Online 0 Members, 0 Anonymous, 51 Guests (See full list)
- There are no registered users currently online