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

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

EarlyAdoptors

Member List

Kridek
MartinBatsman
dhannawat1
Pete2
aly aly
LJMOORE
KellyJohnson
John.Padilla
GarryB
Mirko1728
Steven York
June Rigsbee Copeland
ch36891
Rahul Singla
Justine
Carl M.
bumz
MasterG152
meeeeeeeeeep
Raghs_RMK
Only Title

EarlyAdoptors's Q&A profile

  • .NET Development Can XmlWriter validate against schema also? (.NET 2.0)

    Hi, I know that XmlReader can validate XML data against XSD. Is there an option to use an XmlWriter which can validate its data as it writes it In .NET 2.0 there is a new push model validator called System.Xml.Schema.XmlSchemaValidator with methods like ValidateElement(string name, string namespace,...) and ValidateAttribute(string name, string namespace, ...) which you could easily call from your own subclass of XmlWriter, it also has a handy method called GetExpectedParticles which tells you what is expected based on the current state. ...Show All

  • Smart Device Development WebResponse Close call hangs

    I'm currently seeing a WebResponse.Close() call "hang" running CF2 from VS.NET Beta 2 running on a standard Pocket PC 2003 SE emulator. The HTTP request is being made against a Live365-based audio streamer (MP3 streamer) and the code below hangs every time I run it. The stream it is opening is thus very large and is binary rather than textual - but in the example code below I don't even read any of that stream. The code does not hang under full .NET running on my XP box. Can anyone suggest a solution or workaround for this Thanks Stuart Code is: string inputURL = "http://216.235.81.3:20012" ; WebResponse r ...Show All

  • SQL Server Unable to retrive data in Sql 2005

    Hi everybody,    I developed a windows application that connects to Sql server 2000, using windows authentication and it works, able to retrive and other data process. But when I used it on Sql Server 2005 Express, it was unable to retrive data. What is wrong with it How can I fixed this Connecting String at 2000: "integrated security=SSPI;data source=localhost;persist security info=False;initial catalog=Genesis;" Connection String at 2005:  "integrated security=SSPI;data source=RITS-DENNIS\SQLEXPRESS;persist security info=False;initial catalog=Genesis;" "user id=guest;password=guest123;data source=RITS-DENN ...Show All

  • Software Development for Windows Vista Using .NET to get data from another process/window

    Sorry for asking so many questions in one day, but I'm a little bit new to programming in a Microsoft environment so you may see me around quite a bit. Essentially I want to program an application that will listen for a specific keystroke combination/hotkey regardless of the focus of the window currently, and when it hears it to look in the focused window and do something with the currently highlighted text. I really don't know how to do either, I suppose I could use DirectInput to do the first but there has to be an easier way than that. Regarding the latter, I know there has to be a way because I've seen a couple of appli ...Show All

  • .NET Development what scenario may I use DynamicMethod ?

    I am not sure what scenario can I Use the "LCG" to replace the directly call method in other world ,when Should I use DynamicMethod ...Show All

  • Smart Device Development VS 2005 and generate data entry forms

    I have clicked the generate data entry forms in the datagrid in vs2005 for CF app. I have two forms created for me. One Summary and one Edit view form. My question is when using the edit view form if I edit the data in that form when I am reterned to the form with the original dartagrid on it the edited data is intact. When the fill() of the grid is refreshed the edited data is removed. Why is the data not sent back to the dataset The help on this just says this: 3.On the main menu, click Edit to open the Edit dialog box.(edit form) Use the Edit dialog box, which displays all columns, to modify the data, and then click OK.Th ...Show All

  • .NET Development How to start the scheduled task in the remote computer?

    Hello everybody, We have a requirement for starting a windows scheduled task in the remote server. Would anyone tell me how to realize it in code Thanks and Regards, Hawkins Also have a look at this free C# Task Scheduler library on CodeProject: http://www.codeproject.com/csharp/tsnewlib.asp ...Show All

  • Visual Studio LoaderLock was Detected when entering text in a Windows Form

    When running my C# code in the debugger, I get a loaderlock MDA whenever I enter text in a windows form. The MDA Text follows: Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang. It is not obvious from the stack dump how to fix this problem. [Managed to Native Transition] System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(int dwComponentID, int reason = -1, int pvLoopData = 0) + 0x1c3 bytes Syste ...Show All

  • Visual Studio Team System Why ClassInitialize functions need to be static.

    I'm working in C++.  I'm not sure I understand how the XXXInitialize/Clean attribute is supposed to work. The ClassInitialize method is called before the class is created (the function need to be static).  The TestInitialize is called before each tests.  I need a way to Initialize/Cleanup class member.  When I tried to put this initilization in the class constructor, I discovered the constructor was called many time ( ).  The desctuctor is also never called, so I don't have a way to do clean up. This mean (if I understand well), I'll have to use static variable (ouch!) inside my class if I want to initialize it.&nbs ...Show All

  • SQL Server SQL Server Express Question partly related to ClickOnce

    Please see the thread linked below from the ClickOnce forum...(specifcially, please see my last post in the thread). Any help would be greatly appreciated! http://forums.microsoft.com/MSDN/showpost.aspx postid=171243&siteid=1 Did you find away to change this setting via the commandline I am trying to do the same thing. ...Show All

  • .NET Development Creating 64-bit applications on 32-bit platform using Visual Studio 2005

    Hello, How can I create 64-bit apps on x86 processor Do I need a x64 or IA64 machine to do that I have installed VS 2005 and the .NET Framework on x86 machine. I have my 32-bit apps ready. How do I proceed Any suggestions will be appreciated. Thanks! Sonia. Any dot net application(vb 2005 or c#) which is compiled for anycpu (the default) will be a 64bit application when run on an x64 or IA64 computer ...Show All

  • Windows Forms Window drag from client area

    Hello, I want a code snippet that enables me to drag a window with the left mouse button from the client area (not using the title bar). Here is what I've wrote, but the results are wrong: case WM_MOUSEMOVE: x = LOWORD(lParam);y = HIWORD(lParam); if (wParam & WM_LBUTTONDOWN) { //Move the window GetCursorPos(&pos); SetWindowPos(hWnd, 0, pos.x - x, pos.y - y, 0, 0, SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER); } break; What did I do wrong in it This is the documentation of the WM_MOUSEMOVE message: http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/wi ...Show All

  • Windows Forms Form.Close() won't close

    I am working on a VB application where when a certain condtition is met, the Form cannot close itself: Me.Close()   //does not do anything Application.Exit()   //works but causes an error, due to other code checking when the main form closes It almost seems like a silent error or something that messes up the running application. I was just about to sta ...Show All

  • .NET Development lineClose

    Dear all, I am posted two Question on TAPI. Now i solved thosed two. i have another problem, after successfull dialing and Playing the Wave the Line is not Closing/Disconnected properly. Due to this i am not able to redial the next Number. its throwing an error. i am using TAPI 1.4 & 3.0, and lineClose & lineShutdown API's to disconnect. Thanks in advance. This forum is typically used for posts about the System.Net .NET Framework API.  In order to get the best answer possible, I suggest re-posting this question to a forum that is dedicated to the TAPI API. ...Show All

  • Visual Studio Report viewer problem in c# 2005 beta2.

    Hello Friends I am developing a c# application using Visual studio 2005 beta2,sql server 2005 server and its reporting services. I have a little problem in report viewer i am not able to display a report in report viewer i write a following code but it still not working also its not give me any error. System.Uri reportUri = null; reportUri = new Uri("http://servername/Reportserver"); this.RpReportViewer.Reset(); this.RpReportViewer.ServerReport.ReportServerUrl = reportUri; this.RpReportViewer.ServerReport.ReportPath = "/TestReport"; Please help me. If the report viewer has not been given a report definition, it won't do anything, jus ...Show All

©2008 Software Development Network