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

Software Development Network >> Mitch Wardrop's Q&A profile

Mitch Wardrop

Member List

Jason D. Camp
Michael Hansen
Alex Te.
charles C
enric vives
ThE ViKinG
Jassim Rahma
ashmag
aghoneim
chub xbox
jsvonline.com
Justin Patterson
destroy1369
James. L.
andriscs
Mitch5713
Esthera
Ferdinand Kuiper
Can-Ann
roger5089
Only Title

Mitch Wardrop's Q&A profile

  • SQL Server Vertical Line

    Hi is it possible to set the vertical line to stretch from top of list box to the bottom even If the list box might grow at run time I want the line should stretch from top to bottom jhknys, I have not using a vertical line is this fashion before. Could you use the border style of the List to accomplish the same thing Ham ...Show All

  • SQL Server Multicolumn Report

    Hello, I have a report that has 2 fields only and takes about 4 pages. I want to create a multicolumn report so, it would not take more the 2 pages. I went to report properties, layout, changed number of columns to 2 and it does not work. Am I missing something here Could anyone help me, please Thank you. Thank you for your replies. The problem is that users will have to do something in order to see it right. I have to be able to setup this report that it opens and shown the way it should be. Anyone knows if I could do it Thank you. ...Show All

  • .NET Development about all workgroup withinn a network

    How can I retrive all workgroup name of my network I have tried the Domain property of Win32_NTDomain class. But it gives me only the domain name of my computer only. I want to retrive the other domains as well. How can it possible Listen: Try "net view command in command prompt" if you get the desired results then I tell you how to do it programatically to get the same results been dumped to a text file and view when needed. Cheers ;-) ...Show All

  • Visual Studio Express Editions How to Create a Stopwatch-like timer

    I'm stuck on some code right now trying to create a stop watch like timer. I want to display the elapsed time in a lable from the time the timer starts. I can get the time to update the lable.text on the timer_tick however I don't know how to show elapsed time. I admit I'm new and the solution should be rather simple, however I can't seem to solve this problem. Please help. Thank you. Expanding a bit on Renee's correct answer: use the timer you got now to update the label's Text property. Set it's Interval to 50msec to make it look smooth. Don't use it to measure time. Do that with the Stopwatch class. DateTime.Now and Environment.TickCount are also available to measure time but you'll need a subtraction. ...Show All

  • Visual Studio parameter prompts

      I'm using vb .Net and created a report that has 2 parameter prompts.  When I preview the report, both parameter prompts display on the same page.  When I run the report from my app using the Crystal Report Viewer, the prompts display on separate pages.  I'd like for them to display on the same page during run-time.  Any ideas Thanks  ...Show All

  • Windows Forms Form that Fades away

    Hi I have a form with no border that has a green background, a label. This looks fine But i want it to slowly fade away, this simple to achieve by changing the opacity, but when i start changing the form opacity the label fills with dark black and does not show the text. Why does it do this Here is the code where i change the opacity. Form2 f= new Form2 (); f.Show(); f.SuspendLayout(); System.Threading. Thread .Sleep(100); for ( int i=0;i<100;i++) { f.Opacity -= 0.01; System.Threading. Thread .Sleep(40); } Why does the label not display fine and fill with black How can i prevent it Thanks in adavance Set the default form Opacity to be 99% by default, not 100%.  For ...Show All

  • .NET Development StringBuilder - octal notation escape sequences

    Hi, I'm having a problem with StringBuilder when I try to append string sequences that contain octal notation escape sequences: e.g.: StringBuilder sb = new StringBuilder (); sb.Append( "ABC" ); sb.Append( "\001DE" ); ... this results in the StringBuilder only containing "ABC". Any idea why it's doing that Thanks, Tom hm, actually in the debugger it only shows "ABC" but if I call ToString() I get: "ABC 01DE". Is there another way to put a character in octal notation in a string ...Show All

  • Visual Studio Team System Auto-levelling in Project and integration with Work Items in Team System

    We have a scenario where we have constructed a project plan where single resources are allocated to tasks in MS Project (due to a limitation with integration to team) and using the auto-levelling feature so that resource assignments can be determined in line with priorities etc. We have published the initial project plan 'tasks' to team, so that each person is able to see the tasks that have been assigned to them and roughly when they have been scheduled to start them as pre-determined by MS Project. When the resource begins a task, they are able to enter the ''Actual Start'' date in a customised field against the task in MS Team as well as 'completed' and 'remaining' work number of days. When this is subsequently refreshed in MS Projec ...Show All

  • Visual C# callback from C++ dll to C# function using delegate - need to be 110% sure

    Hi all, I've researched this matter for a couple of days now. I've seen samples of code, got them to work on small scale samples. The problem is that the final application is *critical* to our clients and our work. This is why I need to be 110% sure that what I'm asking about is correct. So, the problem is when the C++ DLL decides to callback the C# function I registered. When the callback was registered, it used code like: new MyCallback(SomeFunction), where MyCallback is a delegate type. Also, I've taken care of holding a reference to the created delegate during the period callbacks may 'strike'. But it is a known fact that this object could be moved in memory by the garbage collector at a later time. What happens then Will the program c ...Show All

  • Visual Basic File Attributes

    Hi. Im writing a program that is searches all the files in the Hard Drive. All files are listed in a listbox. But i DON'T want to list the system files. I tried to do : If File.Attributes = FileAttributes.System Then..... but it didn't work! And the reason is that for example the file "A" is a system file but it is also hidden! If it weren't hidden it would work! To be specific: FileAttributes.System = 4 and FileAttributes.Hidden = 2 That's make us 6. The program won't list files that it's attributes = 4. That goes for any other combination. Is there a way to NOT list the file if it is a system file but is is hidden, or compressed etc Or the only way would be something like this If File.Attributes = FileAttributes.System AND Fi ...Show All

  • Visual Studio Express Editions Datagridview Comboboxes

    I have been searching for info about dtatgridview dropdowncomboboxes. I have found all the needed info except how to display info that is available in the dropdown. For example in a list with 5 items say Item1, Item2, Item3, Item4, and Item5 there would be a selection into the database of various members of this list. If it was a textbox column displaying them would be easy, how do I do the same with a combo box This is probably an easy question but I am stumped. Mike Populating the Combo box is not the issue, as I know how to do that. What I want is when you read the database into the datagridview the correct combobox list item is selected and shows up in the cell. ...Show All

  • Visual C# disable keys

    Is there away to disable keyboard's \ mouse button(s) in web applicaiton and windows applicaiton.. using .net 1.1 .. please point me to the right API/dll/ examples I could use. Than you in advance.. You can't prevent keys/mouse buttons from being pressed in a web application in fact if you could it would be very very very bad, web apps shouldn't ever have this control over the operating system. Also this may or may not be an issue to you but if you want to prevent the sleep/power keys from being pressed you are going to have right a driver that sits between the keyboard and windows keyboard drivers, and it will have to intercept these buttons. And you will have to do different work for USB ...Show All

  • Software Development for Windows Vista Custom rendering of out-of-the-box activities

    I am trying to customize the Workflow monitor application so that it shows the activity description instead of the activity name. I modified the code for the IDesignerGlyphProvider OnPaint and acheived partial success and I am wondering if there is a better way to achieve that goal. faltoukhy - I am glad we were helpful to you and thanks for the feedback about the designer surface. I think this sort of information is helpful for us as we plan for the next releases. --Moustafa ...Show All

  • .NET Development ExecuteReader requires an open and available connection. The connection's current state is open

    Hi, We have deployed an ASP.NET 2 application. We have now increase the number of users accessing the system from 1 to 8 (ultimately there will be 60) and users are intermittantly are getting the following error on their IE screen. "ExecuteReader requires an open and available connection. The connection's current state is open." All users are accessing the same screen when this occurs I found the following on another website: http://www.dotnetspider.com/qa/Question19348.aspx It mentions that this could be a bug, and that the command object's parameters have to be cleared after executing the reader. Is this true We are using SQL Server 2005 enterprise x64 edition (clustered) for our database and our application is deployed on ...Show All

  • Windows Forms Login Form connected to access database

    Hi, I am trying to do a login thing in VB2005 Express, but I have an access database with the usernames and passwords and other stuff like names in it, and a login form that asks for a username and a password. I would like there to be a posibility of an unlimited number of users for my application and there to be a login, and the possibility of different areas of the application to be avaliable to different users using a "trust" column. I would also like the user's name to be displayed on the main page. I have managed to get the USERNAME on the main page, but not the person's name, as I have not managed to interface to the database yet. I have added the database to the project, but have not managed to query the database; ...Show All

©2008 Software Development Network