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

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

BobRS

Member List

Samaro
allison_h
Vikas H
DiamondDavo
Sergio Ordine
MarkSee
Bjørnar Sundsbø
Lorry Craig
Al Christoph
sandipan
alecxss
eriawan
Saitham8
Joe Truman
Andreia M
AndersBank
JustinA1
fripper
Olaf vd Sanden
AmrishDeep
Only Title

BobRS's Q&A profile

  • Visual Studio Express Editions Please Help: code for timer events is stuttering

    I'm almost finished with my first VB program, yet I'm not too excited about it. I have a problem I can't seem to fix. My program has two timers: one has an interval of 1000 and I use it to count down seconds. The other timer has an interval of 100 and it's used in a code for a stopwatch that counts in tenths of a second. The problem is that both timers stutter, something especially obvious in the one for the stopwatch, making my program useless - if you can't trust the stopwatch, then what's the point. The timers never run simultaneously and they are in different forms. Here is the code I'm using for the stopwatch <code> Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ...Show All

  • Windows Forms Problem with Visual Inheritance when i change the size of the Father form

    Hello I have a form called FormMain - this form has controls on it (some are windows controls and other are infragistics controls) I changed the private void InitializeComponent() of the FormMain to public void InitializeComponent() in addition, i changed the decleration of the controls on the form from private to public Naturally i have done all this so i could inherit from FormMain (i know that i should have changed these to protected rather then public but when i change it to protected it doesnt work , found there's a bug on this) On any case, in my formMain i adjusted the size of the controls in the designer the way i wanted them Now i created another form called FormMainTester which inherits from formMain, the pro ...Show All

  • Visual C# Can anyone give me an answer to this?

    Your program will be fed 800 distinct numbers from of a range of 8001 to 9000. You need to store these in-memory and then print. How would you do it Thinking of an array of ints Well, that would need around (4 x 800 = 3200) bytes. Can you reduce the required memory further (by more than 20 times) Regards Mani Thanks for the answer Anomolous There is a bitarray class which does the job cleanly By the way, I could also have boolean array if system stores bool as bits. Does bool take one bit Regards Mani ...Show All

  • .NET Development how to save file to xmlserializer?

    Hi, I've been working on my project using C# windows application. I'd like to know how can I save information to disk. In this case, I want to save when user clicks save button; private void m_SaveButton_Click(object sender, EventArgs e) { XmlSerializer serializer = new XmlSerializer(typeof(Person)); using (FileStream fs = new FileStream("C:\\Documents and Settings\\Ken\\My Documents\\Visual Studio 2005\\Projects\\ListView2\\ListView2\\list1.lvx", FileMode.OpenOrCreate)) { serializer.Serialize(fs, persons); } } If I do that, I get exception. I'd like to know how should I save information using xmlSerializer. Thanks for help. Please p ...Show All

  • Visual Studio Express Editions Replacing an empty element in an array, with the element above it.

    I'm making an rpg, and I'm working on the vender system, and I have an array , called Slots[32], there are 32 inventory slots, this allows blank spaces, I'm not actually sure if C# counts the elements differently, if I dim it as 31, I should have 32 slots, counting 0, but it says its out of bounds when I do that...Anyways, the slots array just holds the name of an item, armor, or weapon, with that, I get the picture I need from a file by looking up the name, that part works great.  But when I try to use the same thing for the 'buyable' as I call it, it will end up a few spaces down, heres how it is set up, in the selling tab, there are 32 'buyables', I have a method to hide everyone that has a null text value, and show everyone that d ...Show All

  • SQL Server Default Report Server Web Page

    I've only just started working on Sql Server Reporting Services 2005, My role is mainly that of administrator (some other unfortunate sole will be doing the development) However, I'm having some problems configuring the "Welcome" screen on the server. Currently it looks like a default web directory, I can click through to Data Sources and a directory containing the current test reports: Looks like: Wednesday, January 10, 2007 4:14 PM <dir> Data Sources Wednesday, January 10, 2007 4:14 PM <dir> Test Reports Clicking on Test Reports gives: [To Parent Directory] Wednesday, January 10, 2007 4:14 PM 15193 Basic Test Report Question is: Is there an XML (Or XSL) file somewhere where I can define how the websit ...Show All

  • Visual Basic Activating or opening an existing Excel workbook with Visual Basic from within a Visual Studio Project

    Hello all, I have tried numerous ways to modify the responses to "Openening an Excel file from within project" to open an existing Excel workbook and also select and activate a minimized workbook but have totally struck out, Can anyone give me some guidance Also, where should I be looking for samples that answer such basic questions Thanks very much. Noel Rietman I could only get the import declaration to work by enclosing each line in <% %> delimiters as below <% @ Import Namespace ="System" %> <% @ Import Namespace ="System.Data" %> <% @ Import Namespace ="System.Data.sqlClient" %> ...Show All

  • Visual Basic Sub Main in Mainform.vb never getting called.

    If I create a Sub Main in my app, the app never calls it. No breakpoint hit, no Messagbox shown. Thanks for any ideas. -greg MainForm.vb Friend Class MainForm Inherits System.Windows.Forms.Form Sub Main (ByVal cmdArgs() As String) MessageBox.Show("main") End Sub End Class MainForm.Designer.vb Partial Class MainForm Inherits System.Windows.Forms.Form You DMan.  That makes perfect sense. The reason why why want to use sub main it is to put control instantiation code prior to the forms initializecomponent. Why Because with testing, the app I am porting to .net 2.0 paints just fine with a plethora of controls, between suspend and resumelayout. ...Show All

  • Visual C++ Visual Studio 2005 relative paths

    Hello folks I know this is a litlle bit unusual question, but I just installed visual studio 2005 and my converted solutions from 2003 are fine. But when I create a new project using 2005, my additional include directories are messed up. I cannot use relative paths anymore and instead of showing relative paths from my project, it shows the Visual Studio path, i.e : .\1033\..... Btw, the relative paths created in the converted solutions are ok. Anyone had the same problem Thanks in advance Thanks arashikage, It would be great to log the issue at http://connect.microsoft.com/Main/content/content.aspx ContentID=2220 once you encounter it.Thank in advance for taking the time to report it. Also, please ...Show All

  • SQL Server Need sp_addlogin with CHECK_POLICY = OFF

    Hi We are using SQL Server-2005 as backend, i had code like, sp_addlogin 'a', 'a' this give error as "Password validation failed. The password does not meet Windows policy requirements because it is not complex enough" as this is not full fill the Windows Password policy. I too check the Local Security Settings is disable for the password settings. I know i can use CREATE USER <user> , CHECK_POLICY =OFF but i want to set CHECK_POLICY =OFF, with the sp_addlogin stored Procedure. Any help,hint or code to solve this Regards, Thanks. Gurpreet S. Gill You can use CREATE LOGIN with a hashed password (see BOL for more information on the HASHED option: http:/ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. release date of font stuff?

    on the xna lunch party, they showed some font stuff. do anybody know, when the font stuff will be released i know that there are a lots of classes etc. which implements some stuff equal to the stuff which were showed on the xna lunch party, but i want to know, when we will be able to use some stoff from microsoft I have a new project I'm hoping to get up on CodePlex in the next few days (once the CodePlex team sets up the project space) that I'm calling XNAStage which has some simple timeline and tweening support but also has a pretty powerful text library that you can use with or without the timeline and tweening stuff. It's also going to be very extensible and easy to integrate into existing games.& ...Show All

  • SQL Server Please help - Missing sqlbw.exe of SQL Server 2005

    Recently, my SQL server infected with virus which modified some of .exe files on the server. Unfortunatly, the auti-virus software found those infected .exe files and removed them from server including the sqlbw.exe. Now I can't run the management studio. I tried to reinstall the only the management tools but failed. It said that my version is incorrect. I also tried to apply the SP1 but failed too. What can I do to recover only the management studio I don't want to uninstall the SQL server because I have live database running on it. Please help. Why are you trying to run sqlbw.exe You can launch management studio using sqlwb.exe and not sqlbw.exe Thanks, Sravanthi ...Show All

  • Visual Studio Team System requirements

    Hi, I am working with MSF CMMI. I have tasks associatd to requirements. Is it possible to have this behaviour: -when all tasks associated to a requirement are "resolved" then the requirement should be "resolved" -when all tasks associated to a requirement are "closed" then the requirement should be "closed" Is there a way to do this Thanks you very much for your help Rod Paul Hacker wrote: take advantage of the workitemchanged event its fired when you save the workitem ok, but where do you add code to trigger events Do you know a tutorial which explains that Rod ...Show All

  • Visual C++ How can I prevent my application from being launched multiple times simultaneously?

    Basically, I want my application to detect whether it's already running and shut down if it would be the 2nd copy. I think the solution might use COM objects, but I can't make any sense out of the COM documentation in VC++ 6.0. See the code below. I patched this a couple of times over the years to handle WinXP where you might have multiple users logged in (via Fast User Switching - does anybody actually use that ). It also sets focus to the existing instance before exiting. Note that I use two mechanisms - one that enumerates existing top level windows (looking for my expected program name in the title - kind of a kluge) and if that fails it uses a global instance of an object. Seems to work f ...Show All

  • Visual Studio Visual Studio 2005 Pro Crashes my Computer Applications Help???

    Occasionally when I open a profile in AIM or try to watch a video with IE or Firefox I get a dialogue that says ________________________________________________________________ | "VISUAL STUDIO Just-In-Time Debugger" | | "An unhandled Win32 exception occurred in IEXPLORER.EXE[3292]. | | | | "Possible Debuggers:" | | "New Instance of Visual Studio 2005" | | () - Set the currently selected debugger as the default | | () - Manually Choose the debugging engines" | | ...Show All

©2008 Software Development Network