Topics
-
- 1 reply
- 625 views
i need a SVG GUI in my aspx page. if i click, let's say, a square - something should happen. the problem is that svg only supports javascript. is there a way to assign asp.net script handlers to click events on svg objects? or is it possible to call asp.net scripts from javascripts?
Last reply by bri189a, -
- 1 reply
- 4.1k views
How do I convert this from java to j#? private enum Status {CONTINUE, WON, LOST}; Thanks for the help.
Last reply by Cags, -
- 0 replies
- 581 views
Hi, I'm strugling with a design problem, I don't know how to implement it. I have a main form which starts a thread that is a continious while loop receiving data from the CANbus. (after a lot of learning I got this to work) This data is received in the form of a structure, containing message ID, time, databytes, .... For the moment I write this data away in a tab seperated file, which shows me my program is working correctly. At program start it will be defined which messages need to be stored. A config file contains a certain amout of keys representing which messages need to be stored. I wan't to put the last x received structs with ID=y to be stored …
Last reply by Jef Patat, -
- 0 replies
- 3k views
I was using VB.net 2005 Express Edition Beta 2 without any problems, but when I updated to the final release of the product, I began to get this error ever time I tried to build a project: No symbols are loaded for any call stack frame. The source code cannot be displayed. Even after uninstalling/ reinstalling the product the error remains. How can I fix this problem?
Last reply by JGlenn, -
- 0 replies
- 655 views
Hi, maybe this is very routine question, but I figured I'd ask: a web service is basically intended to act as an interfaceless-communication device between two applications. However for testing purposes there is also an HTML interface. I'm curious in how to disable that so users can't really seen anything about the program by typing that into their web browsers. Ty
Last reply by ombun2, -
- 1 reply
- 940 views
Help!!! If anyone can help me with this problem that would be great. I just installed Visual Studio 2005 Professional and everything went through the install fine. When i go to create a new project however, it creates but i don;'t see a design window. So I click on form1.vb and I get the following error message... If anyone knows anything about this please help. of if anyone knows of any site that could help me out. Thank you so much.
Last reply by Talk2Tom11, -
- 2 replies
- 2k views
Hello, I�m a sophomore student working towards a CS degree and I�m having problems with VB.net. I�m working on an assignment to create a Vending Machine App. I�ve got the whole thing ironed out but can�t seem to animate the dropping of the can. What I�m trying to do is capture the location of a PictureBox and then make a another PictureBox move down 20 pixels every 100ms. The effect I�m hoping for is a kinda-sorta animation of a can falling into to the bottom of the machine. I�m using this Sub as my pause: Private Sub Wait(ByVal Time As Integer) For X As Integer = 1 To Time System.Threading.Thread.CurrentThread.Sleep(100) …
Last reply by Moritain, -
Bottleneck
by Cags-
- *Experts*
- Leaders
- 6 replies
- 626 views
I've written a small section of code that takes alot longer to complete than I think it should. The code is actually using a Graphics object but I put this post in the General forum as I believe the bottleneck has nothing todo with the actuall drawing. The following code takes approximately 480ms to complete (whereas simply drawing the equivalent number of rectangles takes about 9ms). foreach(Square sqTemp in arrGrid) { if(sqTemp.Type == SquareType.Node) gBuffer.FillRectangle(Brushes.Black, sqTemp.Bounds); else if(sqTemp.Type == SquareType.Link) { if(sqTemp.Link == LinkType.Yes) { gBuffer.FillRectangle(Brushes.Black, sqTemp.Bounds); } else if(sqTemp.Link ==…
Last reply by Cags, -
-
- 2 replies
- 2.5k views
this might sound weird but say you add a Panel within a panel, and you can drag controls into the inner Panel. This works great, however, i'm making a custom control where the main entire thing is inherited from Panel and there's lots of painting, then in the constructor of this inherited panel i create another panel and position it etc, and do this.Controls.Add(panel); So once compiled i add it to a project, but when i try to drag a new control say a button into this container the button will only go into the primary panel but not the inner panel i dynamically created and added in the constructor, what is the difference from dynamically doing so and allowing peo…
Last reply by Winston, -
- 1 reply
- 1.8k views
The game I'm current creating involves use of a library of tiles for the game engine. The only problem is that there is 30 000 tiles and each one is 96*64 in size. Now everytime I render the tiles, D3D stretches the texture to 128*64. Is there anyway I can get around this, maybe by creating a texture of 128*128 and then appling the original 96*64 image on-top of it? If there is a way can it be explained please? Thanks.
Last reply by TrueADM, -
- 0 replies
- 698 views
I recently had to create a mortage coupon book. Now i was able to accomplish this using a table variable in Sql 2000. Is there a way to do this without using the table variable or temp tables? I couldn't discern a way to do it without using a loop to insert the values into a table. The reason i ask is that i would really prefer to put this into a view instead of stored procedure.
Last reply by barski, -
-
- Leaders
- 4 replies
- 1.7k views
Hello all, Out of nowhere i've been asked to write a small exe to distribute to our clients that will install some template files onto there computers. (Yes i've raised the issue of client's willingness to run foreign exe's on there computers). Now back in my uni days i remember hearing someone mention that you could compile a file(s) into an exe and then access them @ run time. Now I assume(???) that when compiling in .NET you set the Build Action to embedded resource to compile a file into your exe... but how do you then access this file? Many Thanks
Last reply by Superfly1611, -
-
- 2 replies
- 1.7k views
I have a usercontrol written in C#. The usercontrol is added to a form. There are buttons inside the usercontrol and i have set the tooltip for it. But for somereason the tooltips seem to go behind the form and only show up partially. The screenshot is attached below. Is this a bug in .NET (C#) ? Any workarounds? Thanks in advance Linesh
Last reply by linesh, -
-
- Administrators
- 2 replies
- 905 views
Haven't had much of an opportunity to work with web services, so I'm venturing out and trying to get up to date. VS makes it so easy...not much of a learning curve at this point. Question though - returning primitives or class thas that can be serialized (DataSet) is simple enough, what if you want to return a file of some sort; like a picture, or a word document? I'm very curious about this part. Also - anyone who has some beginner articles on how to get things into this directory that's out there floating somewhere - or do people even use that? Seems like Amazon, Google, and Yahoo weren't in it - but you go to there respective development sites and you can find i…
Last reply by bri189a, -
-
-
- Administrators
- 6 replies
- 963 views
Interfaces are a sort of contract which states that the implementing object must implement all methods of the interface. Fine. But at the next level up you might have several related interfaces, and want to have a contract that a dll will implement all of those interfaces, and do so just once. Can this be done? Or am I better thinking of having one big interface and somehow dividing the procedures in that into categories?
Last reply by Cags, -
-
- 2 replies
- 1.1k views
If i have a combo box with the values 1,2,3 & 4 in it and i have a button, how would i get the button to when pressed turn the combobox's selected item to 2?
Last reply by VbStudent302, -
-
- Administrators
- *Experts*
- Leaders
- 22 replies
- 2.3k views
From documentation: � Implicitly typed local variables, which permit the type of local variables to be inferred from the expressions used to initialize them var i = 5; var s = "Hello"; var d = 1.0; var numbers = new int[] {1, 2, 3}; var orders = new Dictionary<int,Order>(); Is it me or does this take maintainability way down (especially when you through in a few 10's to 100's line of other code - what was s again? Now we get back to declaring objects: strUser; intID; objWorkflow decAmount; Yeah - it's a pain enough to deal with in JavaScript - I don't really want to have to support this in compiled code too! Readability goes threw the floor, …
Last reply by mskeel, -
-
- 1 reply
- 1.2k views
Hi, I'd like to create a toolbar that is hidden until I move over some specified area when It becomes visible. Something like what's in the IDE when you set windows to AutoHide. Which components from the toolbox should I use? TIA /Kejpa
Last reply by georgepatotk, -
-
- Administrators
- Leaders
- 5 replies
- 6.7k views
ok I have never messed with GetPixel before so this is my guess at how it supposed to work (I got really close i think) My code: Public Class Form1 Public Declare Function GetPixel Lib "gdi32" Alias "GetPixel" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long Private Declare Function GetForegroundWindow Lib "user32" () As Integer Private Declare Function GetWindowDC Lib "user32" (ByVal hwnd As Integer) As Integer Public Declare Function ReleaseDC Lib "user32" (ByVal hWnd As Integer, ByVal ByValhdc As Integer) As Integer Private Sub GetPixels(ByVal hdc As Long, ByVal x As Long, ByVal y As Long) Dim black As Color = Color.Black Di…
Last reply by Biodegradable, -
-
- 2 replies
- 1.2k views
Alright, I need to create a table (did it) that will have rows and cells (duh), and I need it to have a button in one cell that says add(did it).. this is all in an asp:table . When the button is clicked (having trouble referencing it since it is in the table, some reason VS won't recognize it, so I must be doing something wrong.. and I can't double click it to get it to recognize it itself - clicking on it highlights the entire table) have it add a new row with 7 cells and all the same controls as in the first row. Then I need to be able to get data from each of those textboxes (3), dropdownlists (1), radiobuttonlists (2), and a button that says add or I can reference …
Last reply by college_amy,
-
Who's Online 0 Members, 0 Anonymous, 62 Guests (See full list)
- There are no registered users currently online