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

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

willajo

Member List

wpf michelle
hte
osamaT
Pi314159
Andrew Revvo
Eirian
DQM
BasharA
beefeater
Danny Tuppeny
R Raghu
Blader
Jamie Thomson
bmarcus
lib_team
JimMcCaw
xochi
Handerson
Visual Basic
ranger28
Only Title

willajo's Q&A profile

  • Windows Forms Notifying a progressbar

    Hi I have a class in a seperate file. The class is responsable for manipulating thousands of records. Is there any possibility to drive a progressbar in a form that's using the class so one can follow the progress of the action Thanks a lot Hi, you can use the System.Windows.Forms.ProgressBar control to display the progress. You can add an event in the class so that when an item is processed (or every n items if you have many thousands) then the event can be raised, the GUI can be listening for this event and update the progress bar. If you are processing your records in a sererate thread from the main UI thread then before you can update the progress bar you must use the Control.Invoke ...Show All

  • SQL Server Configure Report services

    HI, I am having SQL Server 2005 express edition, how can i configure report services Try the Reporting Services forum. http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=82&SiteID=1 ...Show All

  • Visual Basic Better way accessing large tables with dataset

    I have about 2-3 SQL tables where in each of the table it has about 120,000 records in them. I thought about using the data sources wizard for this use because it's easy, and I can make a search menu rapidly. I've successfully created something like this for a smaller tables that have 100 records or so. Basically I want users to select which table from a combobox, and enter a search term and it will show whatever data associated with the search term. The thing is, the application loads slowly because of the several large datasets loading on form load. How would you guys do this I have a feeling I'm gonna have to use sqlcommand over table adapter for this and only connect and get the record this way. ...Show All

  • Visual C# need help with code

    I am trying to write a program kinda like a receipt and I am having trouble with this. What I need it to do is look like this: Please enter the price of the item: Please enter the quantity of the item: Please enter the total of the item: It needs to continue until you want to end it with like(-1) or something. Any suggestions It would be greatly appreciated. Thanks James : they would like it in a console app, not Winforms :-)   are you able to post the entire code As said, you are doing something like: decimal ItemPrice = Convert.ToDecimal(ItemPrice); //Correct int Quanity = Convert.ToDecimal(Quantity); //Wrong double Total=Convert.ToDecimal(Total); //Wrong     you ...Show All

  • Visual Basic Error codes

    When I use an add command to add data to an Access dB, supposing that db doesn't exist or a connection is lost to the dB or anything atall, and my VB program returns an error to my program, rather than allowing it to crash is there an error code that gets returned that I can use to handle the program execution appropriately thanks tattoo place a try catch block around where you think the error would most likely happen, or rather, read the documentation on the class to see what errors/exceptions it will throw and place the try catch block around it. Example:   Dim theOleDbConnection as new OleDbConnection( connectionString ) Dim theOleDbCommand as new OleDbCommand( commandHere ...Show All

  • SQL Server Parameter area in RS2000

    Hi, Is there any way to have some kind of control over the controls in the reporting services htmlviewer parameter area. What i really wan't to do is set a minimum width to the combobox's in that area, or a fixed width,it would be good too. Thanks. Oh sure yes there is a css file, I was not aware that you can influence the display behaviour of the controls by these files. --- http://www.sqlserver2005.de --- ...Show All

  • Gadgets Changing <gtext>.value doesn't update <gtext>.width

    Add a gtext element: bodyText = bodyBackground.addTextObject("This is some text", "Arial", 20, "Black", 0, 0); Then change the text to something shorter: bodyText.value = "Text"; And you end up with "Text" streched to fit the original width of "This is some text"!  Surely, it should recalculate <gtext>.width to the width of the new value I try to keep track of bugs reported on this forum, but just to be sure, I'd appreciate it if you could send me the list of issues you found - Bruce.Williams@microsoft.com. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Controller help

    Does the wireless controller with the plug to charge work on a computer I spend a good hour trying to get windows to install the drivers, finally I got it to install them but then I get a code 10 in device manager "can't start device". Any ideas It's available from retailers now. http://www.xbox.com/en-US/hardware/x/xbox360wirelessgamingreceiver/ Cale ...Show All

  • Visual Studio 2008 (Pre-release) Automatic scroll event get

    Hi, I want to make an application in WPF.When this application runs, two windows should be opened. Scrollbar of second window automatically scrolls when I click on button in first window.If anybody knows how to do that then reply me as soon as possible. Thanks, Pavan   ...Show All

  • Smart Device Development Game Development On Pocket PCS

    What I Have To Do To Buil 3D Applications For Pocket PCs I have posted a few BLOGs describing how to get started writing MD3DM applications. See http://blogs.msdn.com/markprenticems/ ...Show All

  • Smart Device Development CE 5.0 Emulator in VS 2005

    Hi, Iam working on an application which runs on CE 5.0. I have installed the Emulator for CE 5.0 which i downloaded from the net. But iam not able to run the App in the emulator from VS 2005. I have installed Smartphone and Pocket PC SDK and bcoz of that iam able to view emulator in my VS 2005. Pl Let me know how to Access the CE 5.0 Emulator from Vs 2005. Thanks in advance Biju S Melayil Hi Micheal Thanks for the reply. I tried to install the BSP Emulator but its not reflected in my Catalog Tree view. It has bSP folder in which it has AMD Feode.x86, CEPC: x86 and Emulatore: x86. iam using the Evaluation copy of PB Regards Biju S Melayil ...Show All

  • Visual Studio 2008 (Pre-release) DragSource_PreviewMouseLeftButtonDown seems to stop my GridViewColumnHeader.Click from firing on listview

    I added Pavan's drag and drop classes to drag from a listview to a canvas. I had to modify the generic event a bit to make it work for listviews. Now I am trying to add column sorting to my listview using the example that came with the SDK. My listview sorting only works when I take the drag/drop functionality out. It seems like that functionality is blocking the click event from happening. Any ideas static void DragSource_PreviewMouseLeftButtonDown( object sender, MouseButtonEventArgs e) { // Make this the new drag source IDragSourceAdvisor advisor = GetDragSourceAdvisor(sender as DependencyObject ); if (advisor.IsDraggable(e.Source as UIElement ) == false ) return ; ListView lv = (( ListView )(e.S ...Show All

  • Visual Studio 2008 (Pre-release) Minimum threshold for the Thumb

    I have a small problem with the Thumb control. My application needs a control which users can drag-and-drop, and double-click on. I've used the Thumb control to create this, and it works nicely with no code. The problem is that as soon as you press the left mouse button, the Thumb control starts the drag-and-drop operation. This just cause trouble and bugs when the users want to double-click. Before the WPF-era, I've solved the problem by setting a minimum threshold of mouse movement before drag-and-drop starts. It's actually quite useful and very convenient for users. It means that if they just click on something, the drag-and-drop (and its consequences) don't happen, unless they made a reasonable movement with the left button pressed. So ...Show All

  • SQL Server Unique Constraint and Unique Index, what's the difference?

    What's the difference in the effect of the followings: CREATE UNIQUE NONCLUSTERED INDEX and ALTER TABLE dbo.titles ADD CONSTRAINT titleind UNIQUE NONCLUSTERED I found there're two settings in Indexs/Keys dialog box of the management studio, Is Unique, and Type. The DDL statements above are generated by setting Is Unique to yes plus Type to Index, and just Type to Unique Key, respectively. What's the difference between them They are both implemented using a unique index, so disregarding the meta data, there is no difference. Their usage, however, should be different. A unique constraint should be used primarily to enforce some uniqueness condition, in addition to the primary key. In other words, an alte ...Show All

  • SQL Server Performance Tuning Advice Needed For This table. Assitance Greatly Appreciated.

    I really need some performance advice here. Machine Windows Server 2003 processors (4) RAM (4 Gig) Hard Drives (4) --c: \system --d: \data volume --H: \data volume --I: \data volume The number of records in this database is about 250,000 I cannot prevent a Table Scan from the Application that uses this database. I cannot re-write or change the application as it is outside of my control. However the Application pulls the data from this table in a "Paged" fashion only hitting the database for 30 records at a time. I am really looking for any advice here also regarding. Indexing this: Table Partitions (4 drives) (4 processors) and if partitioned should the files sit ...Show All

©2008 Software Development Network