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

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

aschaeffer

Member List

alan666
Ton vd Pol
Lisber
JPower
jameyer
Stigern
Sunila16
iker
Thomas82
Gidjett
John.Doe
CodeGreen
tampa_dba
Alex-MyRpg
Prestidigitation
Hendrikbez
Strandberg
HenryW_AU
georgeob
XNA Rockstar
Only Title

aschaeffer's Q&A profile

  • .NET Development Check how many references there are to an object

    Hi! I am writing a .NET Compact Framework application, which loads a certain number of controls in a row and displays them to the user (first control A gets loaded and displayed full screen, then control A is replaced with control B, B is replaced with C and so on, but only one control is loaded at a time and each control will also be used only one time). Writing this application for a memory constrained environment (Pocket PC) I added a finalizer to a few controls to see if they got disposed properly, yet they didn't. So I wonder if there is a way to track the number of references to an object so that I can find out what keeps these controls from being collected. One thing to note is that although you have added a finalizer to a cont ...Show All

  • SQL Server Buttons

    Hi. Is there a way to insert a command button or flash button on to a report im using SSRS 2005 with VS 2005 Thanks... ...Show All

  • SQL Server Possible to use a Sharepoint List as a Datasource?

    In Reporting Services 2005, is it possible to create a data connection to a sharepoint list If so, what connection type and connection string do i use for this The error that you are getting for the GetList method is most likely caused by not using the correct name of the list. The listName must be either the title or the GUID for the list. For more info on this method http://msdn.microsoft.com/library/default.asp url=/library/en-us/spptsdk/html/soapmListsGetList_SV01034346.asp ...Show All

  • Community Chat Free Lists - Just a Q & D app I needed.

    http://www.barrysumpter.com Free Lists is the only app there written in vb.net. Don't worry about the other products. I've only sold 1 of each. I have no fantasies or pretentions regarding sales. Best intentions to offer Free Lists as a usable product developed in my spare time over a three day period. Standard, evironments, interfaces change so often I've given up trying to conform. For me, vb.net has been an absolute nightmare. Any features left out are from frustration only. Any positive comments are welcome. Any positive constructive suggestions may very well end up in the next version. All the best to everyone. My ISP community forum solved the year issue with: now.getUTCFullYear and is now working ...Show All

  • Smart Device Development Available Program Memory

    Hi, Does anyone knows how to get current available program memory (RAM) I want to make sure at the startup of the program I have a minimum amount of memory. How do I do that I’ve tried Google, MSDN help.... Thank you in advance Hii Try calling the Win32 API GlobalMemoryStatus . Michael ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Game Studio Professional

    In the announcement of XNA Game Studio it says that the Professional Edition "will add support for tools and services that professional game developers need to ship commercial games". My questions: What exactly would prevent me from programming a game in the Express Edition and sell it (If the answer to the question above is "nothing"): What would make me want to buy the Professional Edition Ah I see, sorry must have missed that when I read through the FAQ for the first time. So basically I only really need Professional Edition if I have a XBOX 360 Developer Kit and want to develop commercial games, correct ...Show All

  • Visual Studio 2008 (Pre-release) Bug Report: Window transparency cause the Frame invisible (June CTP)

    In June CTP, I create a transparent window by setting its AllowsTransparency, WindowStyle and Background. Then I place a Frame element on the window. As I load a webpage, say Http://www.microsoft.com , into the frame, I only get a blank Frame but I can find the hyperlinks on the page when I move mouse over the frame. Bug Or I can't use it in that way BTW, I do the demo in EID. Thanks Leo, When you navigate a Frame to HTML content, it uses HwndHost under the covers to render the content. HwndHost is not compatible with layered windows. Nick Kramer has blogged about this ( http://blogs.msdn.com/nickkramer/archive/2005/12/14/503644.aspx ). Thanks, Lauren [MS] ...Show All

  • Visual C# Determining IIS Options via C#

    Hello. For my work, I'm automating system validation to be performed prior to installations of our software. One of the steps is to verify that certain options like "Common Files," "Internet Information Services Snap-IN", and "World Wide Web Server" are installed. I know how to verify this through Add/Remove Windows Components, yet I'm not sure how, or even if it's possible, to verify such things through the use of C# (which I'm writing the program in). Any help would be greatly appreciated. Google is great, but I know how to view and administer services, but it's the components/options within IIS I'm trying to find out. Like if you were to go to Control Panel->Add/Remove Programs->Add/Rem ...Show All

  • Software Development for Windows Vista .NET AutoUpdate for Software

    I have an existing program that has an automatic software updater. The software is a monitoring program and should always be running. Process: Check internet for newer version. If found, rename the running program to "appname2.exe" After renaming, download the new version. Computer is rebooted and at that time, the software silently deleted the appname2.exe I've tried this on Vista and found a problem. The "silent delete" now prompts the user (admin level) if it's ok to delete the file. For now, I've modified the software to work on vista by renaming the old program and placing it in a program directory sub folder. THe program is only 400 kb so I'm not worried about size - and updates are rare. Thi ...Show All

  • .NET Development Oracle Connectivity Problem

    Hi All, My application developed in ASP.NET with C#.NET and Oracle as Database..... Application is running fine at my machine... but at client PC it gives error... It have a connection problem with oracle, I try to used 2 driver of Oracle... 1 - OraOLEDB.Oracle.1 2 - MSDAORA.1 When i used OraOLEDB.Oracle.1, it not shows the Data in Datagrid When i used MSDAORA.1 , it gives error "Oracle error occured, but error message could not be retrived from Oracle" I done all necessary action, like reinstall MDAC and windows update... but no success..... plz help ...Show All

  • Windows Forms Show in Panel

    Hi, I want to hide my window when minimized and show in panel (right side of task bar) like yahoo messenger. Also when clicked in panel, show it in maximized state. Thanks! Check this thread . Instead of adding it to the MDI parent, add it to your panel. ...Show All

  • SQL Server Multi value string parameters

    Hi all I have a multi value drop down list and their values are a string data type. Label      Value Blue        BL Pink        PK If I select more than one values the parameter value is sent as 'BL, PK' The stored procedure has a where clause WHERE theColor IN (@SelectedColor) This does'nt return the expected results from the stored procedure. How do we make the reporting services pass 'BL','PK' instead of 'BL, PK' to the stored procedure How do I make this work Thanks heaps!! Hello Friends I am also facing same problem can u help me ALTER PROCEDURE [dbo] . [SampleMulti] ( @val1 nvarchar ( 2 ...Show All

  • Visual C++ How to cast char[] to LPCTSTR?

    I have a custom resource file that holds the names of other custom resources that I need to use. I’m able to read all those names into char[]’s that I call name1, name2, name3 etc. Name1: IDR_FILERES3 Name2: IDR_FILERES20 Name3: IDR_FILERES5 How can I send these values into the following function : SDL_Surface *ImageResource_csprite(LPCTSTR resType, LPCTSTR resName) { SDL_RWops *tmp; HRSRC hrsrc = FindResource(0, resName, resType); if (!hrsrc) ErrorExit_csprite((LPTSTR)FindResource(0, resName, resType)); DWORD size = SizeofResource(0, hrsrc); HGLOBAL hRes = LoadResource(0, hrsrc); … } So far the only way that I can use this functio ...Show All

  • Visual C# Multithreading in C#

    Dear Friend I want to implement thread in C# for mean,median and mode functions. in which the calculation will be in the following sequance 1. Mean [x' = (x/n)] 2. Median [M = ((n+1)/2)] 3. Mode [z = (2M+3x')] can you help me. Thanks in advance   See the Thread.Join() function, it'll do work for you. Better explore MSDN to see what does it do. I hope this will help you but in case of any problem you can come back! Best Regards, Rizwan Ahmed ...Show All

  • Windows Forms Loading Image (Visual C# 2005)

    Hey, I after these lines of code what should I put to make it load the image into a PictureBox openFileDialog1.DefaultExt = "*.gif" ; openFileDialog1.Filter = "Gif Images (*.gif)|*.gif|JPG Images (*.jpg)|*.jpg|TIF Images (*.tif), (*.tiff)|*.tif|PNG Images (*.png)|*.png|BMP Images (*.bmp)|*.bmp" ; openFileDialog1.InitialDirectory = "MyDocuments" ; openFileDialog1.CheckFileExists = true ; openFileDialog1.CheckPathExists = true ; Thanks :) oh..thats why...lol ok it works, butanother runtime error, now when I load a .gif and then save it as a .jpg I get a runtime error on the same line of code..it is: A generic error occurred in GDI+. I have to make sure it will save them as other formats thoe, becuase it ...Show All

©2008 Software Development Network