Software Development Network Logo
  • .NET Development
  • Visual C#
  • Game Technologies
  • Visual Basic
  • Audio and Video
  • SQL Server
  • Smart Devicet
  • Microsoft ISV
  • Visual C++
  • Windows Forms
  • Visual FoxPro
  • IE Development
  • Windows Vista
  • VS Team System
  • Visual Studio

Software Development Network >> rod 001's Q&A profile

rod 001

Member List

LauraB
Chuck_S
Quell
yjtsai
MaggieChan
Stephen Crabb
Erik Moore
MOHAMMED1
waheyluggage
progames25
chris441962
Torpedoke
RayClark096
Krutika
WayneW
MarcBey
poon23
mcrisf
phani kumar ---help me out
Julian V
Only Title

rod 001's Q&A profile

  • .NET Development Bug, (I think, quite nasty), relating to GAC, sgen: also, where does one report bugs? Forgot...

    Im really apologetic in that I seem to remember that one is not to post bug reports here...there is a proper place for that, but I don't recall...can someone refresh me on that but anyway, this is a wierd bug: (at least based on what my research turned up)... Im trying to recompile a largish project that has about 2 dozen references to assemblies (i.e., my little classes), in my effort to target an AMD 64 bit processor...One of the references is to a quite complex user control, which in turn refers to many other custom assemblies... Anyway, I've actually been making pretty good progress, (because of the complexity of the project, it is easier to compile the assemblies seperately, one solution at a time), but when I get to this co ...Show All

  • Visual Studio Express Editions Record a wav from a microphone

    Hi, I would like to know how to record a wav file from a microphone using Visual C++ Express edition. Thanks, Paul ...Show All

  • Windows Forms GDI+ Drawing problem

    I'm having a very weird problem, I'm writing a scrolling graph using C#. I'm using the Graphics.DrawLines method for one series and the Graphics.FillPolygon method for another series. Both of these methods take in an array of Points as parameters. Each time I update the graph with a new data point, the graph will refresh calling the DrawLines and FillPolygon methods. Now these data points are exactly the same as the previously drawn points except that there is one more data point in the collection. However, what I am seeing on the screen doesn't reflect the Point array that I am sending the DrawLines and FillPolygon methods. I'm seeing, on the screen, that the Y values change up and down slightly. Does anyone have any idea why the y values ...Show All

  • SQL Server selecting date range

    I have an MDX query that I'm using in Reporting Services: SELECT NON EMPTY { [Measures].[NumberOfClaims] } ON COLUMNS FROM ( SELECT ( [Date].[DTM02_Date].&[2003-12-23T00:00:00] : [Date].[DTM02_Date].&[2005-01-01T00:00:00] ) ON COLUMNS FROM [ClaimStatus]) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS Now this works fine... until I change the dates... such us putting in 2000 instead of 2003 in the date first date. This cube is from two tables: 1. A Claim table (health care claim) 2. A Date table The data table has two columns: 1. a key 2. the actual date The claim table has a key that links to the date table's key, and the corresponding date is the claim date. So when ...Show All

  • Visual Basic Restarting Windows

    I need my program to be able to restart the computer. However, when I copied the code off of http://support.microsoft.com/default.aspx scid=kb;en-us;176695, but when I run, I get a PInvokeStackInbalance run-time error at the OpenProcessToken line. So if the Microsoft code example doesn't work, does anyone else have an idea on how I can restart Windows I tried those changes, but still get the imbalance exception. When I changed every long to integer, I got on the next line a MemoryAccessViolation. For now, I am using the following: Public Class ExitWindows Public Const EWX_SHUTDOWN As Long = 1 Public Const EWX_FORCE As Long = 4 Public Const EWX_REBOOT = 2 Private Declare Function ExitWindowsEx Lib "user ...Show All

  • Visual Studio 2008 (Pre-release) Do you plan some editable ListView (DataGrid) WPF control?

    Do you plan some editable ListView (DataGrid) WPF control It is my understanding that the set of controls that will ship in v1 are complete in the current beta/ctp. There are control vendors working on such things, and you can get most of the way there with the existing controls. Look at the ATC Blog for some good examples on how to combine the current controls to produce a more complete data presentation result. For a full database editing experience you will need a third party control, or need to do some coding on your own. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Farfetched?

    To create a non-XNA game do people use a graphics engine, or do they create everything from scratch. To me, creating a game, out of nothing, just seems impossible to me. I know it has been done, but does the majority of the community use graphics engines There won't really be one single answer to this - it'll vary from project to project and from developer to developer. In general, software re-use is a big part of the development process. Using a pre-made engine, or re-using technology from previous projects is usually a good thing - you get the advantage of a tested and understood platform but the disadvantage of having to work within the constraints defined by the existing technology (e.g. making a r ...Show All

  • Windows Forms How to capture keypress in Windows Forms?

    Hi every body How can i capture key press in Windows Forms not from a Control I want the user to press any key any where in the Form and display the keypress in label like if you write in the text box I knew that i have to setup ( KeyPreview to true in the Form1 ) and use private void Form1_KeyUp(object sender, KeyEventArgs e) { } to capture the key press. But my problem is that i did not get the value correctly in the label Pressing number 5 in keyboard will give 1. If using e.KeyCode =========================== label1.Text = e.KeyCode.ToString(); NumKey will give ===>> NumPad5 MainKey will give ===>> D5 2. If using e.KeyValue ========================== label1.Text = e.KeyValue.ToString(); NumKey will give === ...Show All

  • Windows Forms How to always show the ToolStrip overflow button

    Hello everyone! I want my toolstrip to look like the visual studio one does. I want the overflow button to always be shown and I want a menuitem that allows me to add and remove toolstrip items. Is this possible Thanks in advance! Regards, -Martin Hi, Glad to hear your feedback. To make the toolstrip overflow button visible, I find that at least one button should be in the overflow state. private void button1_Click( object sender, EventArgs e) { this .toolStripButton1.Overflow = ToolStripItemOverflow.Always; } Then the toolstripoverflowbutton will show up. Maybe this is not exactly what you want, but hope this helps a little. ...Show All

  • Visual C++ Trying to create a pointer array in a class

    Hi, I am trying to create a dynamic array with pointers in a class. Would the syntax be int* x, int* x[], int** x, or something else When I try to do it with int* x[] and I dont put it in the last line of the class, it will give me the error "error C2229: class 'Stack<T>' has an illegal zero-sized array" while if I put it in the last line it will give me the warning: " warning C4200: nonstandard extension used : zero-sized array in struct/union" When I increase the size of the array I do this, void Stack<T>::push(T X) { array[size++] = new T(X); } Whenever I run the program and the program exits, it gives me the runtime error "Run-Time Check Failure #2 - Stack around the variable 'test' was corrup ...Show All

  • SQL Server ERROR IN SQL SERVER ENGINE

    I have a problem starting my SQL Server engine. Its service has been stopped. It was working properly till evening “ December 8, 2006 ”. But when I came to office at 10:00 AM, it did not start. When I checked the service in “Services.msc”, it was stopped. So, I tried to start the service “ SQL Server (MSSQLSERVER) ”, but it failed with message “ Error 1069: The service did not start due to a logon failure ”. I opened “Event viewer” and looked the list in “Application” log to find out what had happened. There was an entry for “SQL Server” source with type “Failure Audit”. There was a message “ Login failed for user sa ”. What went wrong….Can someone help me Plz its urgent…. You'd better look the security log in the ...Show All

  • .NET Development Visual Studio 2005

    Hi All, I am using VS 2005 (ASP .NET 2.0 using C#) with SQL Server 2005 to develop a web app. There is only one dataentry screen in my app and rest are all queryable screens. The database is small. I created an MSI and released in on the server.( I am maintaining different servers for the application and the db). For some reasons, the application is slow when accessed remotely. Help will be appreciated. Besides, are there any patches available for the VS 2005 since grid view is new to the version Thx, A there are no updates available yet - SP1 will be released in Q4 of 2006, currently in beta. any ASP.NET questions should be posted over at the ASP.NET forums, since they are dedicated for ASP.NET: http://for ...Show All

  • SQL Server Remove duplicates within pipeline

    I have a situation where we get XML files sent daily that need uploading into SQL Server tables, but the source system producing these files sometimes generates duplicate records in the file. The tricky part is, that the record isn't entirely duplicated. What I mean, is that if I look for duplicates by grouping the key columns, having count(*) > 1, I find which ones are duplicates, but when I inspect the data on these duplicates, the other details in the remaining columns may differ. So our rule is: pick the first record, toss the rest of the duplicates. Because we don't sort on any columns during the import, the first record kept of the duplicates is arbitrary. Again, we can't tell at this point which of the duplicated records is mo ...Show All

  • Visual C# C#.net or C# 2005

    Hello everyone, I have some intermediate knowledge on C programming and wish to learn C#. Searching through the bookshop, found there are two difference thing: C#.net or C# 2005. What is the difference between these two And in term of syntax level, is there any difference ok... thanks. The C#.NET I referred to is the 2002/2003 version. I heard in the 2005 version, the compiling process is slower compared the 2002/2003 version. Is it really correct ...Show All

  • .NET Development Stroing generic object in xml element defined with type xs:anyType

    Hi, We are developing a Service Broker component with one web method, which accepts generic request. We have multiple schemas and classes generated from these schemas. Now we want to wrap this schema classes in one schema of this generic request which is used in our component. The xsd is as follows: <xs:element name="RequestData" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="RequestDataXML" type="xs:anyType " minOccurs="0"> </xs:element> </xs:sequence> <xs:attribute name="Standard" type="xs:string" /> </xs:complexType> </xs:element> Now when a class is cr ...Show All

©2008 Software Development Network