Topics
-
-
- *Experts*
- 14 replies
- 2k views
I don't know what it is like in other countries, but here in Australia, just about every developers job you see they ask for someone with at least 5 yrs experience in a certain language. What is experience? Would they be looking for someone who has been working as a programmer for 5 years or someone who has been programming for 5 years like at home as something to do in their spare time. Some jobs will just ask for 1 years experience and I have seriously thought about applying for them, just to see if I'm at a level where I could get a fulltime developing job. I have been using .Net for well over a year now and before that used vb5/6 for a couple of years. Along …
Last reply by Nerseus, -
-
- 0 replies
- 829 views
Is anyone in this forum a professional Technical Writer? Interested in hearing more about it, the skills needed, and the opportunities available. Mike55.
Last reply by mike55, -
-
- Leaders
- 1 reply
- 933 views
he guyz, i need some help with graphics. am using vb.net 2003 to create an application that draws an ellipse at the point which it has been clicked on a picturebox(am using the click event of the picturebox). however i need another action to be performed once the user clicks on the ellipse. how can i be able to identify that the ellipse has been clicked on and at the same time not to fire the click event of the picturebox? thanks
Last reply by snarfblam, -
-
-
- Leaders
- 1 reply
- 2.8k views
Hi all I am trying to implement an example of the singleton pattern using the code at the following site: http://www.codeproject.com/cpp/singletonrvs.asp. I am getting the following error: The error is occuring in the main method when I try and call the method getInstance. Any suggestions on how to solve this problem? Mike55.
Last reply by snarfblam, -
-
-
- *Experts*
- Leaders
- 2 replies
- 4.8k views
The solution compiles fine, but when running I get a CS0012 error. The supposed missing reference is indeed referenced. This started occurring when added some implict operators...here's the scenerio: in namespace CompanyName.Whatever1 there is a class called X; in namespace CompanyName.Whatever2 there is also a class called X. These two classes our highly coupled (purposefully) but *are* indeed seperate objects (let's not get into this design, it's a problem that's being addressed). Anyway these two 'X' object have to be pretty interchangable so we're using implicit casting. This is all fine and well, and again works fine, but now at runtime when you go to cre…
Last reply by Nerseus, -
-
- 5 replies
- 1.1k views
Hi there guys, I've managed to populate a dataset with a table (from a SQL query), and I'm trying to access the data in it directly instead of binding it to a dataGrid. How would I go about this? Say I had the following Table: ID Name Password 1 Bob BobsPassword 2 Colin ColinsPassword I want something like: dataG.Column["name"].Row[0] to equal "bob" dataG.Column["id"].Row[1] to equal "2" I can't seem to navigate my way through the web of properties myself - please help!
Last reply by CryoEnix, -
- 0 replies
- 961 views
hi i have .net 2.0.50727 on my developer environment. if i create a deployement-project, the setup checks on the target-machine for this version of .net... so, if one of our employees still stays on version 2.0, the setup cannot be executed. is there a way to define a project as version 2.0 instead of version 2.0.50727? best regards george
Last reply by ganders, -
- 2 replies
- 1.7k views
Hi to all! What is the worlds biggest .NET open source project? is it NASAs World Wind project? Regards, cyberjoe
Last reply by penfold69, -
-
- Leaders
- 4 replies
- 1.3k views
ok i have a listbox with a few rows of data. I am having the data be read as a string into a word document. I want to be able to read the whole listbox as a string. So far I have only been able to get it to read one line. This is the code i used for that... listbox1.SelectedItem. Is there anyway to have it use the whole thing and not just one selected item???
Last reply by amir100, -
-
-
- Leaders
- 8 replies
- 1.4k views
I've carefully designed my screen to look nice and be fully functional, but whilst testing my program on another computer, the listview box was much bigger then needed creating a horrible horizontal scroll bar. I put this down to the screen resolution. So i tried the program on my own computer as each and every resolution, however every time it displayed correctly. This leaves me to think that its down to a different graphic card/driver. However i cant realistically test the program against every possible graphic card. Firstly does anybody concur that it is down to the graphics card/driver? And secondly how can i possibly design the program to run correctly on eac…
Last reply by snarfblam, -
-
-
- Administrators
- *Experts*
- Leaders
- 11 replies
- 1.7k views
Ok, I'm a little confused about something... I get the idea of Exceptions and the 'Inner Exception' or "innerEx", if you will. But the more I think about it, the more that I have trouble seeing any use for the 'innerEx' parameter for an exception class's constructor. For example, I have my own custom Exception classes, and I have dutifully provided an 'innerEx' parameter for all my constructors. But I think I have never, ever used them when throwing an exception. The reason is that either I know what went wrong, in which case I throw the correct error type without any 'innerEx' provided, or I don't know, in which case I just re-throw via a 'Throw' call without any …
Last reply by Mike_R, -
-
- 0 replies
- 991 views
Hi everyone. I'm trying to use the wizard control in ASP.NET 2. The control renders on a table layout with some mistakes. for example, there is a <tr style="height:100%"> and another <tr> in the same table, this can mess a lot of stuff around it. Is there any way i can change this? (Without rewriting the whole control)? Thanks
Last reply by otherside, -
- 1 reply
- 2.7k views
System.Drawing.Font fntT = new System.Drawing.Font("Courier New",10); surPrint.FontHandle = fntT.ToHfont(); surPrint.ForeColor = Color.White; Hi, the above code is exactly what i use to set the font handle of the surface. This code exsists in the main loop, so for every frame this is executes. When i run the program it works fine for about a minute or two, until an exception occurs: An unhandled exception of type 'System.ArgumentNullException' occurred in microsoft.directx.directdraw.dll Additional information: Value cannot be null. This is very annoying. Nothing changes in the loop... the same code is executed. As I said before the code works for ab…
Last reply by VoidShadow, -
-
- Administrators
- 3 replies
- 1.5k views
I have been told a few times that the best thing to do when programming is to try to avoid raising any and all potential errors, instead of using the raised errors themselves to figure out what to do next. At least, this is what I took from it. So, I'm wondering if you guys think this should be done during simple math calculations too.. in order to avoid things like overflow? Do you check each and every math operation you do before you do it, or do you let the try/catch handle an error the way you want it? Simple Case: You want to add 2 user entered Integers together. If there is an overflow set the Total to Maximum Int 64 Value. Addition Method 1 (Use Try/Catch)…
Last reply by PlausiblyDamp, -
-
- 3 replies
- 1.2k views
I adapted this code from another thread in order to format my column widths. Now what my datagrid is doing is showing NOTHING, no rows, no columns, splat. I am posting the code in the hopes someone can tell me what I am doing wrong... Dim ds As DataSet = New DataSet drRead.Fill(ds, sptable) With Me.dgFile .DataSource = ds.Tables(sptable) .CaptionText = sptable & " Table" .Visible = True If sptable = "Report_tbl" Then .Width = 704 Else .Width = 560 End If .PreferredColumnWidth = 75 End With Dim dgts1 As New DataGridTableStyle …
Last reply by lauriemc, -
- 3 replies
- 844 views
private bool OpenWord() { try { wordApp = new ApplicationClass(); tname = (object) templateFileName; wordApp.Visible = false; //wordDoc = wordApp.Documents.Open(ref tname, ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing); //for Word 2000 wordDoc = wordApp.Documents.Open(ref tname, ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing); //…
Last reply by amir100, -
- 1 reply
- 1.3k views
Hi all. I have a slight problem with Crystal Report. Currently I'm using Visual Studio .Net 2002 with it's embedded Crystal Report. I have two different query, qry1 and qry2. qry1 has three criteria. That is criteria A, B, and C. qry2 has the same criteria with qry1 with and additional criteria D. So qry2 has criteria A, B, C, and D. Due to the lack of data variety both queries return the exact same result set. I know this because I've already tested the query directly to the database server. That result set are then used in a crystal report object. I tested qry2. The report are shown perfectly. But when I tested qry1. I didn't get anything. It turns out qry1 did…
Last reply by amir100, -
- 2 replies
- 943 views
This is an odd problem, and I'm not sure how it's arising. But Given this code the floating point addition gets messed up by 0.000000000000001 every so often. Is there a way to stop it? Dim Single1 As Single = 0 Dim AddAmount As Single = 0.001 For i As Integer = 0 To 2000 Single1 = Single1 + AddAmount Debug.WriteLine(Single1.ToString) Next In the Debug Window This happens now and then: 0.025 0.026 0.027 0.028 0.029 0.03 0.031 0.032 0.033 0.034 0.035 0.03599999 0.03699999 0.03799999 or 1.047 1.048 1.049 1.05 1.051 1.05199999999999 1.05299999999999 1.05399999999999
Last reply by NeuralJack, -
- 1 reply
- 719 views
I have a button for removing members from a grid, as a safety measure, I want to display a javascript dialog box that requires the user to confirm the action. I am using the following code: btnRemove.Attributes.Add("onclick", "return ConfirmAction('Remove selected Members?');") I have used this code previously without any hassle or errors, I am now getting the following, and the message dialog will not display: Any suggestions? Mike55.
Last reply by Cassio, -
-
- *Experts*
- Leaders
- 20 replies
- 2.9k views
In a recent thread about Windows Vista I went on a small rant about the Trusted Computing component of this new version of Windows. Now aware of how little attention the Trusted Computing (TC) concept has received in the general public (largely in part of how major software developers downplay its importance) I think it would be best to explain the implications of the TC platform and make myself sound a little less loony. In fact, this topic is actually very thoroughly discussed on multiple blogs, articles, and forums and the vast majority of the discussions are warnings of the perils of TC, so at the very least, I'm not alone. First, I suppose people should understand…
Last reply by BiteByter, -
-
Who's Online 0 Members, 0 Anonymous, 59 Guests (See full list)
- There are no registered users currently online