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

Software Development Network >> Derdour's Q&A profile

Derdour

Member List

Dennis_x
wallylie
Hilley
Kirill Tropin
John Mathews
Teymur Hajiyev
Gary Winey
Derek at Potters Clay
Yones
Giugio
sandyJ
Fergnab
keacegll
Mike9000
Agent00
Scott Leathers
Atul Nisar
Rooster A.
Philski
alanrbeer
Only Title

Derdour's Q&A profile

  • Visual C# Append new column into a existing Access Database by c#

    I'm using C Sharp and I want to append new column into Access Database. Please help me if you have source code for this issue   ...Show All

  • .NET Development AccessViolationException when client is terminated

    Hi, We have just migrated our client/server application to .Net 2.0. After that we constant get an unhandled AccessViolationException in the server program when the client program is terminated! The only stack trace I can get is: at System.Net.UnsafeNclNativeMethods.OSSOCK.WSAGetOverlappedResult(SafeCloseSocket socketHandle, IntPtr overlapped, UInt32& bytesTransferred, Boolean wait, IntPtr ignored)    at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)    at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) In the event log on the server the follo ...Show All

  • .NET Development XSL: sub category 'n' number of loops

    I have a listing of items that can have 'n' number of sub items. How can I loop through each <collection> and all of its sub items and pull out the title of each using XSL I've been stuck on this for awhile. I can use nested loops to pull out each value but thats when I know the upper boundary number of Sub items. Any help would be GREATLY appreciated! Here is the sample XML: <Collection> <Collection> <Collection title="title"></Collection> <Collection title="title"> <Collection title="title></Collection> <Collection title="title> <Collection title="title></Collection> <Collection title="title></Collectio ...Show All

  • SQL Server OLE DB Destination Table/View Drop Down

    Is there any way around (or will there be) using the drop-down It takes several minutes when running against an Oracle Apps database to populate that dropdown with the several hundreds of tables and views. TIA. DAMN. You said Destination. Sorry, I should read posts more clearly. However, you can still do this. Just select 'SQL Command' as your Data Access Mode and your SQL statement just selects all the columns that you want to insert into from the table that you want to insert into. Ignore what I said about best practice though. its best practice for sources, not destinations. -Jamie ...Show All

  • Windows Forms Dock property bug?

    Hello All. I'm wondering if anyone else has run into this rather bizarre behavior. I've got this form that every time I open it in the editor it shows up with the asterisk in the caption, like the dirty bit is set and there are unsaved changes. When I close it, I'm prompted to save the changes. Every time. It doesn't matter if I open it in graphic design mode or code editor. Well, my WTF bug went crazy and I traced it to a Text Label control. If I set the Dock property on this control, the dirty bit presents every single time the form is opened. If I reset the property to "None", all is well. I can duplicate this behavior on any new form with a "Docked" Text Label control. The Anchor property has no effect o ...Show All

  • .NET Development OleDbException on simple ExecuteReader call, with MS Access DB

    When I execute the following code, I am getting a really annoying exception thrown at me which gives only the following information... An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dll Additional information: No value given for one or more required parameters. The exception occurs inside of the ExecuteReader line below: string dbCommandText = "SELECT * FROM cust WHERE accountNum= "; using (OleDbConnection dbConn = new OleDbConnection(dbConnectionString)) { using (OleDbCommand dbCmd = new OleDbCommand(dbCommandText)) { dbConn.Open(); dbCmd.Connection = dbConn; dbCmd.Parameters.Add(new OleDbParameter("accountNumber", accountNum)); OleDbDataReader reader = dbCmd.Execut ...Show All

  • Software Development for Windows Vista Windows workflow in ASP.Net

    Hi, I am using a workflow created by me in my ASP .net application. When I create a WorkflowRuntime object, sometime I was getting an error "Can not create more then one WorkflowRuntime object in same AppDomain". So I put the WorkflowRuntime object in Application State and before creating the new object, I am checking the Application State. Here is the code. WFRuntime = ( WorkflowRuntime )System.Web. HttpContext .Current.Application[ Constants .WPRuntimeId]; if (WFRuntime == null ) { WFRuntime = new WorkflowRuntime (); WFRuntime.AddService( new SqlTrackingService (connectionString)); WFRuntime.AddService( new SqlWorkflowPersistenceService (connectionString, true , new TimeSpan (0, 0, 0, 10, 0), new Ti ...Show All

  • Gadgets Bad Ratings

    Can I suggest that people are prevented from giving ratings without leaving a comment. I want to learn why people are raiting my gadget badly (plus be sure its not just another developer trying to raise there own raitings) Ross I agree, i've found most of my gadgets have very low ratings until they are rated about 20 times, and i do think this is in someway malicious. The reason for this is because i submitted a new gadget a few daysd ago, when i checked it had about 357 downloads, and 3 ratings with a rating of 5 stars. A bit later int he day i checked and it had around 380 downloads, but suddenly 18 ratings, and a rating of 1 or 1.5 stars. Now i cannot beleive that it go so many ratings in such a short period of time from rea ...Show All

  • Visual Basic Scroll Bars

    When the max value of a HScrollBar is set to 100, the actual runtime max value is 91. What's up ...Show All

  • Visual Basic How to Rotate Text in RTF

    Hi Folks, Any RTF experts out there I want to insert a text object that is rotated like what you can do in Powerpoint's text box or Word's Word Art. Unfortunately, when either is saved in RTF, the text content is lost in the raw code, so I cannot do a search and replace on the rotated text. Word only saves the text content if the text box is used with the alignment changed to vertical. Is there any way to create rotated text that is visible in the RTF code I am prepared to insert all the required positioning code myself, if I only knew what was required. Any ideas would be greatly appreciated. The problem isn't rotating the text...that can be done relativly easy either by painting the ...Show All

  • Visual Basic The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    Hi, a Visual Basic 2005 project was saved on a USB memory. Then it was copied to the hard disk. When trying to open the project from the hard disk, it is not possible to load some forms and this is the message that appears: Errores al cargar el disenador. Los errores se citan a continuacion. Algunos errores se pueden corregir volviendo a generar el proyecto, otros puede que requieran cambios en el codigo. The specified module could not be found. (Excepcion de HRESULT: 0x8007007E) Ocultar en System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) en System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid) en System.Windows.Forms.AxHost.Create ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. some simple noob question

    Hi Well.. i learned c#.. and i said what the heck .. why not learn direct x.. and i have some problems understanding cerain things like: if i have like 30 meshs .. and the vertex buffer.. i have do render seperatly every mesh plus the vertexbuffer sorry if i sound crazy.. but.. need some help.. The normal way is to render each mesh with an own draw call. There are some tricks to render multiple objects with only one call but as you are a beginner you should not care to much about this now. With mesh you mean the mesh class In this case it manage the vertex buffers for you (create, fill, select, destroy). You only need to call “DrawSubset”. ...Show All

  • Windows Forms Win32.SetParent problems

    Hi All, I am using Win32.Setparent in my application. Because of that my default application behaviour is getting changed. Does anybody have any idea what to do after calling win32.setparent......................to get original setting of the form I am using windows XP. LOL, if there is a good candidate for a code re-write, this would be it. For some reason, SetParent in pure .NET assembly code does not sound right aside from the fact that there is access to both components. I think we can probably help you more if you write down the spec of what is the code trying to accomplish in plain English.   EDIT: I get it now you what the dialog box to be modal only to form2, but form3 should still be int ...Show All

  • Visual C# Error: "The path is not of a legal form" in C#

    Hello.I receive the following error Error: "The path is not of a legal form" in C# in the code string location = "List.txt" ; // Read lines StreamReader reader = new StreamReader (location); string [] file_lines = (reader.ReadToEnd()).Split( '\n' ); // Add in Lista foreach ( string one_line in file_lines) { string file_location = one_line.TrimEnd(); System.IO. FileInfo info_item = new FileInfo (file_location); if (info_item.Extension == ".mp3" ) { ListViewItem List_Item = new ListViewItem (info_item.Name, 0); List_Item.SubItems.Add( "XX:XX" ); List_Item.SubItems.Add( "Necunoscut" ); List_Item. ...Show All

  • Windows Forms Writing bat files.

    Hi , I have a project with script that call various methods from the main method.I have heard that a bat file can do this.I would like to write a "bat" file that can call this main function and run all the methods. main() { method1(); method2(); ------- method100(); } method1() { xxxxx; xxxxx; } method2() { xxxxx; xxxxx; } -------- method100() { xxxxx xxxxx } Any help on this will be highly appreciable. Hello You can write a Bat file like write some DOS Command and save it to a text file but with .bat extension. Making your application to be call like a DOS Command must be placed in the windows\system32 directory. Suppose that you place your application Doom.Exe in ...Show All

©2008 Software Development Network