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

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

KevinBurton

Member List

LiamD
Dee-roc
shahafin
Simone1
DeamonX
Jason_B.
sunny123
DeNiS-21
levi3man
gm64
neuhawk
Perry Choy
JulianRidley
kristmun
sheldono
Pete_M
Francis Shanahan
bloeser33615
Will Merydith
Chuck Cobb
Only Title

KevinBurton's Q&A profile

  • Visual C++ help needed for multithreaded animation in VC++ 6.0

    Hello! I was trying to develop an animation in Visual C++ 6.0 on WinXP when i came across this problem: i was trying to run animation inside a thread: DWORD WINAPI AnimationThread(LPVOID param){ for(i=1;i<15;i++) { ................................. ................................. //AniProc1 and AniProc2 are functions to create animations SetTimer ((HWND)param, ID_FLASH,100, AniProc1); SleepEx(2000,1); SetTimer ((HWND)param, ID_MOVERIGHT,5, AniProc2); SleepEx(2000,1); ....................... ....................... .................. } All of a sudden the animation stops (during 12th loop ...my code contains no special condition related to the 12th loop in particular) Plz hel ...Show All

  • Windows Forms label1 Text Length\Width

    Trying to limit the text w i d t h of a label. Font measures and graphics seem expensive...whats the best method ...Show All

  • SQL Server Getting Version of Database without convertign to SQL Server 2005

    Is there any way to get the version of a database without attaching it to the server. Or can I attach a database without converting from SQL Server 2000 to SQL Server 2005. The reason is that I have to ask the user before a convert the database from SQL Server 2000 to 2005. I found I way to get the Version of a database without attaching: Dim oSQLServer dim strDBFilename ' with comlete path dim strSQLServer ' with comlete path strDBFilename = "d:\test_3\test.MDF" strSQLServer = "(local)\PM" set oSQLServer = CreateObject("SQLDMO.SQLServer2") oSQLServer.LoginTimeout = -1 With oSQLServer .LoginSecure = True .AutoReConnect = False .Connect strSQLSer ...Show All

  • Visual Studio Team System BisSubscribe.exe is not a valid Win32 Application

    hi All, I have been able to use Bissubscribe and email when the build fails and everything was working absolutely fine....... I was unsubscribing and subscribing with new email addresses and suddenly i get this strange error: E:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\TF Setup\BisSubscribe.exe is not a valid Win32 Application. I get this error if I try to execute the Bissubscribe command or even if I try to click on the exe file. I see that the exe file is 0kb now. Can someone please suggest how can I get things back to normal I see that the log files do not have anything abt this in them. I have no idea what went wrong i appreciate a quick response in this regard and this is very important.... ...Show All

  • Visual Studio 2008 (Pre-release) RichTextBox, get Insert mode?

    How can I check it a RichTextBox is in Insert or Override mode (I want to show an indicator on the statusbar) Best regards, Thomas Andersen ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Confused About XNA and DX10

    I am confused about the differences between XNA and DX10; is that correct: 1- XNA will have both fixed function and shader programming and effects also 2- DX10 will have only shader programming with no assembly, no fixed function and no effects. 3- DX10 will be on Vista only, since it is shader programming will Shader 3.0 (DX9.0 C and L) is compatible with Vista shader 4.0, so a program written on Windows XP DX9.0 C will run on Vista DX9.0 L but will not run on Vista DX10 shader 4.0 But why it will not run on DX10 Vista runtime if the program is only shader with no effects is that because shader 4.0 will not be compatible with shader 3.0 or it will run regarding windows controls with DX: 1- can we build application ...Show All

  • Windows Forms Windows application in different DPI

    I have developed a window form based application for tablet pcs. The problem I am facing is screen looks displaced on high dpi setting ie 120 how it make it work for both resolution Thanks Sudhee Two ways if you are in .net 2 you should be able to use the new containers like tablecontainers to repositions buttons and spacing in a % effect rather than by fixed widths. The second way is you check for what type of machine the users is on and there settings and programmatically change the screen. This is alot more long winded and very painful in places but this should hopefully solve you problem. HTHs, Sorry I could not give a better solution though. James ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Using reference rasterizer on virtualized windows/xna

    Hi. I'm running windows on a virtual machine on a intel Mac. As of now, there's now hardware D3D support from virtual machine manufacturer (Parallels). So, I'm forced to use reference rasterizer. Now, on a "normal" D3D, I know how to setup a device as a rasterizer device. On XNA framework (beta 2), I don't know how to do it. For one sample somewhere I got the idea of inheriting a new class ReferenceGraphicsDeviceManager from GraphicsDeviceManager, overriding RankDevices() and FindBestDevice() -methods and then basically stating the following inside FindBestDevice-block: protected override GraphicsDeviceInformation FindBestDevice(bool anySuitableDevice) { GraphicsDeviceInformation deviceInformation = new GraphicsDeviceInformation( ...Show All

  • Visual C++ Why /Mt & /Mtd options differences cause my release version to crash?

    Hello The Debug version of my software works fine. when i compile it into a release version. Some of my objects seems to be destroyed where it's not meant to be, creating memory access error. The objects themself seem to be existing but some of their variables seem to have been deallocated for some reasons unknown to me. I found out that compiling my project with the option of multi threaded 'debug' runtime library instead of a normal multi threaded runtime library solves the problem. Could you tell me what are the difference between these two type of library It would help me to find if there is any fixable error in my code. Thanks a lot. You shouldnot debug the heap. Create a release verison with Debug symbols, let ...Show All

  • SQL Server question please

    please i hav a question..can uoy answer me i have a workers table which contains 4 records such as (id,name,category, status) ... category like : a,b,c for example : id - name - category - status 1 - Jone - A - free 2 - Tom - B - busy 3 - Adm - c - free 4 - Raul - B - free 5 - Sami -A - busy i want to write query to obtain 3 workers that their status = free and belong to each category (a,b and c ) such as here : 1 - Jone - A - free 3 - Adm - c - free 4 - Raul - B - free can you help me -- ----------------------------------------------------- -- Kanjo: -- -- The things that I understand from your request are: -- 1. You do want to filter out any status other -- tha ...Show All

  • Visual C++ What is a void pointer?

    Hello folks, Can someone please explain what a void pointer is I understand that a pointer simply contains the memory address of some variable, and if I qualify my variable with the "&" sign then I'm passing it by memory address (like a pointer) and not by value. But lately I've been seeing things like the following: SomeFunction(int var1, void* var2); Or: int var; someClass->SomeFunction(.., (void**)&var); Thanks in advance everyone. The & is the address-of operator. int x; // int int* px = &x; // pointer to int int** ppx = &px; // pointer to pointer to int All pointers can be implicitly converted to void pointers. Howver: void pointers are just ...Show All

  • SQL Server SQL 2005 Service Pack 2

    Can anyone tellme when SQL 2005 Service Pack 2 will be out It is a big problem when I can't look at an existing role and see what permissions are for a group of objects. I found this in forums: http://forums.microsoft.com/TechNet/ShowPost.aspx PostID=605425&SiteID=17 quote user="Bill Ramos"] Actually - we have a "fix" in for our service pack 2 that will be available in CTP form later this summer that will list all of the securables for a given principle that have been explicitly set. You may need to use the "Effective Permissions" button to see if the principle actually has permissions on the securable. Thank you, Bill Ramos, Lead PM, SSMS and another reference here, for issue ...Show All

  • Visual Studio Express Editions Opening a .txt file

    Hey Im trying to open a text file to make modifications to it, and save it as a .txt file what is the command for opening a file sorry that I noob is asking this question but I need some help if you can give it. And before the second question is asked.... My.Computer.FileSystem.WriteAllText("d:\temp\test.txt", TextBox1.Text , False) Which will write the contents of the textbox to the text file. ...Show All

  • Visual Studio Express Editions What does it take to run you own program?

    My question is as the subject says: What does it take to run you own program I created my own program, put it on a floppy and tried it on an other computer... But it doesn't work... i get an error and this is the error signature. I think this is weird because i have the same version of windows as on the pc I developed the program on(Windows XP SP2) and i have .NET Framework 2 installed. I also installed the MSWINSCK.ocx file by using "regsvr32 c:\windows\system32\MSWINSCK.ocx". But my program still doesn't work untill i install VB studio 2005 express, then it works normally and i don't get any error any longer. When I uninstall VB studio 2005 express my programs continue to work correct. So my question is... whats rea ...Show All

  • Visual Studio Need to modify a report

    Hi guys, Greetings! I want to modify a report, that I want to remove the company header. Is it possible to reflect the changes after I modified the .rpt file eventhough the entire application has been published(or turned to an exe file) Will it carry the changes Thanks, ...Show All

©2008 Software Development Network