Software Development Network Logo
  • Microsoft ISV
  • VS Team System
  • Visual C++
  • Smart Device
  • Visual Basic
  • VS Express Editions
  • Game Technologies
  • Visual FoxPro
  • Visual Studio
  • Windows Vista
  • SQL Server
  • Architecture
  • Visual C#
  • Windows Live
  • Windows Forms

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

Chadk

Member List

Walt Ritscher
Rudi Groenewald
Uzzy
AllNamesAreTakenButThisOne
ismail tanberk
Claus Brod
Mans
CMP
matshelander
Amal Kamel
softer
Tiago Nobrega
hutchbrew
TDRS
HaraldS
pippo43
goreckm
AshikWani
Whitehorsevideo
easyjiggle
Only Title

Chadk's Q&A profile

  • .NET Development AppDomain.GetCurrentThreadId Depreciated

    Whilst migrating a 2003 application to 2005, I get the warning that the method AppDomain.GetCurrentThreadID has been depreciated and I should use the ManagedThreadID property on Thread. When I try replacing the method to comply, my code stops working.   Here is  the code snippit.    IntPtr handle = Win32.GetThreadDesktop(AppDomain.GetCurrentThreadId());    Works ok    IntPtr handle = Win32.GetThreadDesktop (Thread.CurrentThread.ManagedThreadId); The above code compiles but does not work Any ideas what I am doing wrong. Regards   <Steven Hawkes@d ...Show All

  • .NET Development Concurrency Violation When Updating MS Access Db

    I am working on a VB .Net 2005 application with a MS Access database backend. I am able to add a new row to a datatable via a DataGridView control. After invoking the Update method on the TableAdapter, I have verified the new row is written to the Access database with the values I've entered. This problem is I get a concurrency violation error when attempting to save (update) a subsequent edit of the newly added row. I am the only person making edits to this database. This row does contain an autonumber field. Making the TableAdapter.Fill call again to refresh the datatable after initially adding the row corrects the problem, but seems inef ...Show All

  • SQL Server Send Mail Report with code

    hi my questions : i want to send mail to report in Reporting Services 2000. but i want to on code behind. User is Click to button latter report attachment in outlook mail and send report. if not understood my questions please send mail to me!     ...Show All

  • Visual Studio Express Editions Video Tutorial For MS VisualWeb Developer 2005 Express Edition !!!

    Hi Friends I badly need of MS VWDE video tutorial for all the chappters; anyone like to share the resouces of video tutorial, please do. Thank you. If you have a look on www.asp.net , you will see that they have information on VWDE and also have links to tutorials on the product. Also if you follow this link it has a video tutorial and also has the resources so you can download the video and code. ...Show All

  • .NET Development MultiThreading Question

    To the multithreading gurus: Given the following code, is it necessary/good practice to use a lock somewhere Thanks in advance, zulu using System; using System.IO; using System.Threading; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { FileCounter cnt = new FileCounter(); cnt.StartAsync(@"C:\"); while (true) { bool exit = !cnt.IsRunning; Console.Write(string.Format("Files: {0}, Folders :{1}\r", cnt.Files, cnt.Folders)); if (exit) break; Thread.Sleep(10); } Console.WriteLine("\nFinished.&quo ...Show All

  • Visual Studio 2008 (Pre-release) Plans for dynamic cached lookup of DLinq Table classes?

    The video example includes a code generation tool that "may" become part of a future Visual Studio to generate classes to represent SQL Tables for DLinq. Someone has already posted a Code Smith template to do something similar. I'm interested in a run time capability that can reference tables by name and generate matching DLinq Table classes at runtime.  I work with systems that have tables whose information is often extended (so the Meta data is not very stable) but my queries are static (the Tables/Columns names don't change).  The ability to generate the table class for DLinq could use the Light Weight Runtime Compilation ...Show All

  • Visual Studio Skipped Loading Symbols

    I've been working on an ASP.NET 2.0 project (in debug mode) and I just started getting the "The breakpoint will not currently be hit. No symbols have been loaded for this document" error when I set some breakpoints in my code (in all of my projects and not a particular one) When I run my project and view the "Modules" Window. the "symbols status" for all the items ( mscorlib, system.web.dll, syste.web.xml, etc..) is "Skipped Loading Symbols" when I right click on one of these items and choose "Load Symbols", and click ok on the "find symbols" box, I get this "The symbol fi ...Show All

  • Visual Studio Express Editions Font combo box

    Does anyone know how to retrieve a list of all the fonts on a system, and populate a combobox with them Please help. Thanks, ComputerGuru. Fonts.GetFontFamilies will do it, but it needs the fonts folder. I believe you can use the Environment class to work out where that is. ...Show All

  • Windows Forms Multiple monitors

    I can get the number of monitors connected to a system by using the SystemInformation.MonitorCount property, but is it possible to force an application to appear on a monitor other than the primary  FWIW, I just tried it and it works fine. I hadn't played with this yet, and was eager to give it a try. Very cool! -- Ken ...Show All

  • Visual Studio Express Editions how to add new users with SQL Server Management Studio Express CTP

    hi, someone maybe can help me how to add new users, that they could connect to my MSSQL 2005 server, i trided myself, but i didn't make it.. thanks This probably should have been posted somewhere else being that this is the Installing and Registering forum but here is how to add a new user for SQL 2005: 1) Connect via Management Studio 2) Expand Security 3) Right click Logins and select New Login From there you can configure that new user. Remember to set the authentication mode for the server. It's set to windows authentication by default. ...Show All

  • Visual Studio Express Editions Disassemble C/C++ Code

    Hello People, is it possible to Dissasemble C or C++ code with the Express edition What I have to Download Thanks Leo JaLeo wrote: is it possible to Dissasemble C or C++ code with the Express edition The dumpbin utility is included in the Visual C++ 2005 Express Edition. You can use it to show a disassembly of native Windows code from a .EXE or .DLL. Use Tools | Visual Studio 2005 Command Prompt, switch to the directory having the binary file in it, and then do a command like C> dumpbin /DISASM yourfile.exe | more and you can see what it produces. Jumps and calls won't be to labels, but I ass ...Show All

  • Visual Studio Team System errors in load test ("Object reference not set to an instance of an object")

    When I use the following code to enumerate dependent requests, I dont get the error "Object reference not set to an instance of an object" foreach ( string s in LastResponse.HtmlDocument.DependentRequestUrls) { WebTestRequest loopRequest = new WebTestRequest (s); yield return loopRequest; } if I add in the following check, I get an "Object reference not set to an instance of an object" more frequently. debugging shows LastResponse.HtmlDocument.DependentRequestUrls coming up as Null. foreach ( string s in LastResponse.HtmlDocument.DependentRequestUrls) { if (s.EndsWith( ...Show All

  • Visual C# ArrayList Error

    Im using the listboc control from the sampleFramework using directX and I want to create a remove function that will remove a string object from the listbox but I keep geting this error System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collection.ArrayListEnumeratorSimple.MoveNext() here is the code I did public void Remove( string s) { int i = -1; foreach (ListBoxItem li in itemList)<---the error is thrown here { i = i + 1; if (li.ItemText == s.ToString()) { itemList.RemoveAt(i);   scrollbarControl.SetTrackRange(0 ...Show All

  • Visual Studio Express Editions Visual Web Developer problem?

    Hi, I have just installed VWD 2005 and its looks great. One problem, i am trying to run the 'Personal Web site starter kit', when i try and create a new user, i always get a problem at the password entry part. I goto Website --> ASP.NET Configuration -- > security tab --> Create new user. I keep getting 'Enter a different password', regardless of what i type, i keep getting this message. I haven't experienced any installation errors and everything else seems to work fine. I just can't create a new user. Even when i publish the site and view it in a browser i still get stuck at the password stage. Anyone else  experience th ...Show All

  • Visual Basic VB6 IDE Mouse Wheel - Disappearing editor windows?

    Anyone else seen the frustrating Disappearing windows which frequently occur when a VB6 developer touches the Mouse wheel    We use:  VB6 SP6 , MS Mouse Intellipoint 5.2 08/17/2004.   We we use and are fairly happy with the MS's fix VB6IDEMouseWheelAddin.dll which was released Oct 2004, except for the IDE's disappearing editor windows.  Quite frustrating... I've seen this too. I don't have a fix. But if you always click INSIDE a scrollable window, you won't have the problem. The windows disappear when scrolling after clicking in the main MDE wi ...Show All

©2008 Software Development Network