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

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

jklegseth

Member List

cunha
Yelnik
ION T
Adhvika
Bader Cheema
Dani50
7dust
aero1
Yousef ED
bes7252
Coder4Christ
DTHMTLGOD
Noulouk
JavaBoy
Ilan D
Neotech
Bonebreak
Annihil8
papermater
Zero_
Only Title

jklegseth's Q&A profile

  • .NET Development problem reading xml data

    Hello, I probally am doing something wrong, please note that this xml data can be read with xml notepad 2007 fine. I have the following code: Dim UPS_BILL As New System.Xml.XmlDocument UPS_BILL.Load( "C:/UPSXML.XML" ) TextBox1.Text = "UPS XML DATA:" & vbCrLf If IsDBNull(UPS_BILL.SelectSingleNode( "UPS_EBR_BILL/XMLBillFileVersion" )) Then <--- Errors here Else TextBox1.Text = TextBox1.Text & UPS_BILL.SelectSingleNode( "UPS_EBR_BILL/XMLBillFileVersion" ).InnerText.ToString End If i get the following error: System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object." Source="UPS_XML_WEEK ...Show All

  • .NET Development How to recognize process?

    hi everybody I'm trying to write an application to redirect hotkeys of specific program. For example, in notepad, if the user press "ctrl+s", that means save. But I really want to assign the save action another hotkey and of cause, without modifying the notepad program itself. Unfortunatley I was stucked at the first step: How can I recognize the process of the certain program I'm targeting at I'm using C# Sorry for this question may sound a little bit stupid but I do not write .net program often and I'm not quite familiar with .net API and architecture. I even have a little doubt if it's possible to write such a "hotkey redirection" program. Anyway, I really need it and thank you very much if you can give me ...Show All

  • Windows Live Developer Forums Cannot edit my profile. Getting an error message???

    Hi Can anyone help with this Whenever i try to edit my profile on live space i get this error message, This space is temporarily unavailable. Please try again later. To find other spaces that interest you, go to Windows Live Spaces Any ideas I've tried Firefox and IE7 and am having no Joy. I can edit everything else apart from my profile. Any ideas Cheers It is a Problem with spaces .live I have had this problem from the start and no one seems to have a solution. got here and report it 235 times and it might get fixed. http://support.live.com/eform.aspx productKey=wlspaces&page=wlsupport_home_options_form_byemail&ct=eformts ...Show All

  • SharePoint Products and Technologies how to debug an eventhandler

    I've written a eventhandler dor document libraries, wicht creates unique numbers for each document placed in a library. Ofcourse it isn't working, and I would like to debug my code. It looks like the evnt is never called. Can anyone tell me how to debug source code written for Sharepoint 2003 Eddy Thanks for your answer. Unfortunately I dont'have the rights to do that. I will 'debug' with writing to eventlog or textfiles. ...Show All

  • Smart Device Development regarding memory exception

    hi , i have been in developing application in smartphone using c# .. i am using visual studio 2005 .... for my application i have loaded the resoueces using the following code ... Stream s ; Bitmap img_btYellow; s = this.GetType().Assembly.GetManifestResourceStream("Widgets.res.avblue.png"); img_btYellow = new Bitmap(s); s.Close(); i have loaded 8 '.png' images through the above code using the same stream ' s ' . the application is running fine in emulator .... but it is showing out of memory exception in the exe created inside the bin folder ... even i tried using singleton object for all the classes , that i have used .. but it s still showing the same exception .. could anyone help me in resolving th ...Show All

  • Visual Studio Delete Sub Directories?

    Is there a task that I can use to delete only subdirectories For example, I would like to do something like this wher the DeploymentLocation folder stays on the file system but any directories below it are removed. I do NOT want to delete the DeploymentLocation and then immediately recreate it. < RemoveDir Directories = " $(DeploymentLocation)\**\ " /> The only tasks for deleting that are built into MSBuild are Delete and RemoveDir. Delete deletes files, but not directories. RemoveDir like you said deletes the folder. What you can do is combine tasks and use metadata. I created a simple solution below: <Project xmlns=" http://schemas.microsoft.com/developer/msbuild/2003 ">   <PropertyGr ...Show All

  • Visual Studio 2008 (Pre-release) DLinq Hands-On Lab for VB

    Hello, In Lab 1 I entered the code as shown. The following command code gives the error "End of statement expected" Dim custs = _ From c In Customers _ Where c.City = "London" _ Select c Any ideas what might be wrong Thanks, Tom Hi Genevieve, Just to be sure I have the May CTP installed, I download it again from MSDN. Then I installed it and selected the "Repair" option. Now the commands are recognized, and the program runs. Sorry, I guess something got corrupted. Thanks for your help. Regards, Tom ...Show All

  • Visual Studio MSCTF.dll exception

    Hello, Im trying to debug this application which works but gives some exceptions in the complete beginning. Why would a program try to call MSCTF.dll (which has something to do with office..) 'video1.exe': Loaded 'C:\WINDOWS\system32\MSCTF.dll', No symbols loaded. First-chance exception at 0x7c918fea in video1.exe: 0xC0000005: Access violation writing location 0x00000010. 'video1.exe': Unloaded 'C:\WINDOWS\system32\MSCTF.dll' 'video1.exe': Loaded 'C:\WINDOWS\system32\MSCTF.dll', No symbols loaded. First-chance exception at 0x7c918fea in video1.exe: 0xC0000005: Access violation writing location 0x00000010. 'video1.exe': Unloaded 'C:\WINDOWS\system32\MSCTF.dll' I turned off automatic updates and did what you said and it worked great... ...Show All

  • Software Development for Windows Vista Writing to HKLM

    I'm using the RTM release of Windows Vista and testing my application to see if it will run on Vista as a standard user. I'm seeing some strange behaviour and I'm wondering if anyone can help me figure this out. My application writes some data to HKLM\Software. I was expecting to see this write getting redirected to the VirtualStore when running as a Standard user. However, that does not seem to be happening. My app is able to write to HKLM\Software. My app is not running with elevated privileges and Virtualization is ON. I even tested my app with the Standard User Analyzer tool thinking it would possibly show me some errors when writing to registry but nothing showed up there either. Strangely enough, I see the same behavior when running ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Question about Device callbacks

    Hi! I'm a newbie using MDX Framwork to learn MDX and have a question about Device object callbacks. When exactly are they called and are there some general rules what to do in which callback (i.e. where to load effect or texture from the file) I.e. in "DirectX Managed" docs there's: "Framwork.DeviceReset Event Occurs when the Microsoft Direct3D Device object is reset." It doesn't really explain when the Device object is reset. I'm interested in the following Framework callbacks: OnCreateDevice OnResetDevice OnLostDevice OnDestroyDevice. Thanks in advance ...Show All

  • Visual Basic Please Help me in converting VB6 DataGrid usage to VB2005 DataGridView.

    Hi, I am a newbie VB6 programmer looking for assistance in converting the following code into VB2005 code. No matter what I seem to do I cannot get an equivalent that will run using VB2005. I have to stay with the existing file format due to legacy issues. I would like to read and write randomly as shown. I'm also confused on how to get the data into the VB2005 DataGridView. Any help would be greatly appreciated. Thanks PaulZ --- A snippet of my VB6 code ---- Private Type DiskFileLayout dAccount As Integer dActivity As String * 10 dCurrency As Integer dDate As Date dTotal As Currency dContainers As Double dPrice As Currency dCommission As Currency dNote As String * 33 ...Show All

  • Windows Forms Property value is not valid - PropertyGrid

    Hi, I have got a propertygrid control. Now I want to replace the message box "Property value is not valid". Is this possible Any help would be great. Cheers, Franz Usha, Any chance you could post that example here I need to intercept/disable the "Property value is not valid" dialog at runtime for a control I wrote that uses a property grid. I tried to email you at the address you provided above, but the mail bounced. Or, if anyone else knows which attributes I need to apply to suppress this, I'd appreciate it. Alan ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. persistent backbuffer OR renderTarget (on 360) possible?

    I want to disable backbuffer clear. Though I have removed the Clear from my draw func it still gets cleared to black on Xbox360. Run the same thing on PC and the mystery clear doesn't happen (stuff I'm drawing correctly smears across the screen). I also tried to workaround w/ ResolveBackBuffer to a texture and draw this back at the beginning of each frame but thats not working for me either. In this case my Draw() looks like: Draw Backing Texture using Quad Draw new items ResolveBackBuffer -> Backing Texture I even tried double buffering the backing texture w/ no luck. Thirdly, I tried RenderTargets, but they also seemed to be getting cleared each frame as well! I would think there's gotta be a way for rendertarget contents ...Show All

  • Visual C# Language Converting Tool

    I was wondering if there is a tool that converts projects into different languages I know about the developerfusion tool that converts C# -> VB.NET and visa versa: http://www.developerfusion.co.uk/utilities/convertcsharptovb.aspx but I'm looking for something a little more powerful (and hopefully free) that converts entire projects. My projects are never all that huge and don't involve databases or anything, so I don't need a "sledgehammer" of a tool, more like a "fly swatter" I have Visual Studio 2005. I'm hoping there might just be a plugin that I'm unaware of. hi, may be you need Reflector . but you have to compile your project first which was written by one .net language and disassemble it to another language hope this h ...Show All

  • Visual Studio Team System How to Use FxCop1.35 in VS2005

    HI,David M.Kean I wanna check if class names/method names/property names are Pascal Cased in VS2005,and I just find there are rules in the Fxcop1.35,such as CA1704(IdentifiersShouldBeSpelledCorrectly),CA1705(LongAcronymsShouldBePascalCased)... so,i add FxCopSdk.dll/Microsoft.Cci.DLL(FxCop1.35) into References(VS2005),it can be builded succeed,i copy the DLL into "Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop\Rules",but it does not work. how can i do thank you~! I also want to ask some problem about FxCopSdk.dll、Microsoft.Cci.DLL in the vs2005 I have defined some rules which can run well in FxCop1.35. when I move those rules into the folder "C:\Program Files\Mi ...Show All

©2008 Software Development Network