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

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

volkerm

Member List

Lawrence 007
nato4
averge joe
redviking2006
Aatu
Programm3r
marun11
clint 2
Seppe001
milton howe
mobigital
KC416
Pretpal
pblecha
andyedw
Mark Coffman
Dhruvesh
mattguest
NoEgo
Binary
Only Title

volkerm's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Game freezes every few seconds

    Hi, Every few seconds my game freezes and then resumes. The time of the freezes varies depending on debug/release or if i am debugging in visual studio. Also, when i run in debug mode with debugging sometimes* the program freezes permanently. But if i put a breakpoint in, it breaks, then when i continue it works fine. Its wierd. I am using threads for parts of my program but im certain my code is fine. Are there any bugs with regard to threads and freezing in xna help please. Although I agree with the previous posters that this sounds most like a thread contention issue, it is also possible that these pauses could be caused by unusually large amounts of garbage having to be collected. ...Show All

  • SQL Server RSClientPrint - Printing Issues with page margins and orientation.

    Software used. RSClientPrint object, SQL2005, RS2005, VS2005. I am working on a project with a few hundred reports with varying page margins and orientations. According to the MSDN documentation, the RSClientPrint object retrieves the page margins and layout are from the RDL by default. "You can initialize the Print dialog box with margin and page values of the report. By default , the Print dialog box is initialized with values from the report definition." This doesn't appear to work. I have verified that the RDLs I'm testing with do have the Margin attributes, and the pageheight, pagewidth attributes. Previewing or printing the report show that the margins were not used, and the page height, width didn't set the orientation ...Show All

  • Visual Studio Express Editions C++ String.IndexOf overload fails. Is this a bug?

    I'm stumped. I wrote the class method shown below and I get a compile error for the IndexOf call. but this is eliminated when the "const" qualifiers are removed from the parameter list. Is there a bug There are 9 overloads for IndexOf. The one I want to use is: int IndexOf(System::String ^value,System::StringComparison), but the compiler seems to want another overload where the first parameter is of type wchar_t. I'm using VC++ 2005 Express with .Net 2.0 under Win 2000 Pro. Is this fixed in the VC++ 2005 Express service pack ------ bool StringReplace::Replace(String ^xStr, const String ^xFrom, const String ^xTo) //Returns true if the string was replaced. { String ^t2, ^t1=xStr; bool retvalue = false; //default return value to false in ...Show All

  • Visual C# accessing network drives from a windows service

    Hi, I have a windows service currently written in c# v1.1 which I'm trying to port to c# version 2. What I am trying to do is to read all files in all root subdirectories of a network path and store the filenames in a database. My code for doing this looks like // get the list of directories string [] fileEntries = Directory .GetDirectories( ConfigurationSettings .AppSettings[ "FileWatcherPath" ]); foreach ( string fileName in fileEntries) { // do stuff } However it complains that it can't access the P drive, where the files are. At first I thought it might be a permissions problem, but even using the administrator account didn't solve this. Any pointers on how to do this ...Show All

  • Visual Studio Team System Feedback from newbie

    Add a mode or option to generate a dictionary from all the mispellings. Then I could just quickly review the dictionary and remove bogus spelled words. This would be so much quicker. Allow seperation of some identifier rules between Enums and other identifiers. Possibly other seperations as well. A lot folks still want enums to stand out MY_ENUMS_LOOK_LIKE_THIS. But I don't want to exclude the rules for other identifiers. Allow multiple forms of "failed runs" for the build. By count or by level to trigger a failed build. I'd like to fail a build on FxCop failures but I can't do that until I get rid of another 1200 errors. I'm working in order of level and I could fail the build on top 2 highest levels now but I can't do tha ...Show All

  • Windows Forms press keyboard "enter" key

    after input values into textbox on my login screen, i want to have 2 options to proceed, 1. i want to be able to click on login button and proceed (this is easy). 2. i want to be able to press on the "enter" key on my keyboard to do the same thing, please help. thx moayad, just little more help plz. on line foreach (Ctr in this .Controls) { There is a compilation error as pasted below, plz help Error 1 Type and identifier are both required in a foreach statement C:\Documents and Settings\.....\My Documents\Visual Studio 2005\Projects\.....\login.cs 68 26 ....... ...Show All

  • .NET Development System .Net tracing vs network monitor

    I'm monitoring an asp.net 2.0 app on windows 2003. This aspx page calls asynchronously an asmx web service on another server. I'm looking for some clarification on the tracing behavior. Looking into the traffic with a network monitor I see that I receive small HTTP packet (the corrisponding tcp packet is: Tcp: Flags=...PA..., SrcPort=HTTP(80), DstPort=20287, Len= 1460 , Seq=2278731085 - 2278732545, Ack=2977840638, Win=64388 (scale factor 0) = 64388) Looking in the trace of System.net I see System.Net Verbose: 0 : [5940] Data from ConnectStream#5312697::Read System.Net Verbose: 0 : [5940] (printing 100 out of 4096 ) System.Net Verbose: 0 : [5940] 00000000 : <content stripped> System.Net Verbose: 0 : [5940] Exiting Con ...Show All

  • Internet Explorer Development IE7, OE6 Printing problems with headers

    Having an intermittent problem printing To: From: CC: Subject: Attachments: headers on emails. Usually happens with larger emails or emails with large attachments or emails that have been replied to or forwarded from other people. Have installed Generic/text printer and sent the email to this printer but sometimes the headers are still missing even printing this way. I have if I open the offending email and highlight just one or two words in the text of the email eg Dear John and then print the email using my HP printer (not as text on Generic printer) - the headers then print and so does the selected words. Don't suggest using Outlook as often we only print the first page of emails as we already have the rest of the email on file especial ...Show All

  • .NET Development SqlDependency and which rows actually changed?

    I have a question about SqlDependency. When using the SqlDependency class to get a notification of a change to a table, what is the best way to actually find out what data has changed Is this even possible We are working on a stock trading system in which stocks are valued based upon notifications in the changes of the price, quantity, etc. Any light that you could shed would be helpful! Thanks a ton! Ryan Heaney rheaney@sgfallc.com Coincidentally, I am looking for a solution to a similar problem. Were you able to find anything The only think I found was to use whats called a DiffGram. This involves the idea of persisting the datasets as xml and then comparing them. See http:/ ...Show All

  • Visual Studio Express Editions Simple password comparison vs. Access

    Hi guys, I have a very simple question for you but that i can't seem to figure out how to do it. I need to compare a value that a user enters on a textbox in a form vs. a value from a database. I'm creating both from scratch but i'm not sure how to pass values and compare to a database item. For example: Form1.aspx txtUser: Admin txtPW: 1234 ---------------- *********** ---------------- db1.mdb / Table: Users User:Admin PW: 1234 Level: Admin Addres: Here Department: Computers It DOESN'T need to be super secure nor encrypted since i'm just doing something simple. I searched all over here but all the answers are way beyond of what i need to do here. Any help or ...Show All

  • Visual Studio Team System Book for MSF For CMMI? Templates / Process Guidance / AdventureWorks templates

    Hi it seams that a book for MSF for Agile Software development is underway (looking forward to it - Randy couldn't you put the sample chapters online somewhere ) Is anyone writing a book for MSF for CMMI Our company would like to use it since we are working with a CMMI Level 5 certified company. I'm really looking for a book that explains the use of the CMMI process guidance in depth. I'm right now looking for answers to questings surrounding templates and that are/are not included with the guidance. Why does the project guidance not like to actual documents Is it because official documents do not exist so they can't be included in a product like Team Foundation I have downloaded some templates for MSF 3.0. There is a small ...Show All

  • Visual Studio 2008 (Pre-release) Control template element visibility based on binding value

    Quick question... I have a MyClass control template where it will print the value of a"Caption" property in a TextBlock and the value of a "Description" property in another TextBlock under it. This all works great with the code below: <ControlTemplate TargetType="{x:Type MyClass}"> <TextBlock TextWrapping="Wrap" Margin="0,0,16,0" Text="{TemplateBinding Caption}" /> <TextBlock TextWrapping="Wrap" Text="{TemplateBinding Description}" /> </ControlTemplate> However the problem arises if in the MyClass instance, the Caption is set to an empty string. In that case I don't want the Caption TextBlock to be visible because right now it stil ...Show All

  • SQL Server Scripting views / stored procedures in the order of Dependency

    Any smart way to script views / stored procedure in the order of dependencie example: Views: A, B Dependencies: A depends on B By default SMO is scripting them in the alphabetical order so the create view A first and create view B follows it which makes the script un usable as create view A fails as view B doesn't exists in the database. The way i am using to get around this setuation is, using the bellow code (asume that we are passing a list of View objects: static void SortViews( Database sourceDB, List < SqlSmoObject > smoObjects) { DependencyWalker dw; DependencyTree dt; dw = new DependencyWalker (sourceDB.Parent); dt = new DependencyTree (dw.DiscoverDependencies(smoObjects.ToA ...Show All

  • SQL Server Hidden Expression for Group Header

    I am trying to hide a group header (table row) based on the value of that group, but have not been able to get it working. Let's say I have 2 groups in my table: Group 1: State Group 2: City I want to hide the group header (tablerow2) where State = "Unknown" but I want the Group 2 cities to still display - just w/o a header. I tried putting the following expressions on the hidden property of tablerow2 with no luck: First I tried referencing the field that it's grouped on: =Iif((Fields!state.Value = "Unknown", true, false) I also tried refereing the name of the group: =Iif(("State_GRP" = "Unknown"), true, false) In both cases, nothing gets hidden - all rows, including ...Show All

  • Visual Studio Express Editions Application to generate MS Word document?

    Is it possible for a C++ application to generate the MS Word *.doc files For example, if I had a form with two text boxes and a button on it. When the button is clicked, would it be possible for the program to make a new MS Word document that has a 2 cell table with the text box values in each cell, and save this Word file to the current directory If so, any pointers to the libraries to use or whatever tools I would need would be greatly appreciated. Thanks in advance I suggest you create a new Win32 project (using the project wizard) and start from there.  If you can get it working then try adding a new C++ file to your project and not compile it with clr:pure, then copy your wo ...Show All

©2008 Software Development Network