luis figueredo's Q&A profile
Visual Studio Express Editions Using WinForms and Console in VB.NET Project
Hello, I am needing to use forms and console in my apps. I am making a web server right now, and I want the main UI in form type so they can edit things with a GUI, and then have the console show things like access form IP's and what p[ages are viwed etc. Any help is greatly appreciated. Thanks in advance. I don't think so unfortunately. Perhaps NoBugz knows a way of doing so but I believe this will always be launched since you changed the project type fo Console Application...which will show the Console screen at startup. Perhaps you can get a handle on it or something then hide it...not sure Looking at the Console class, the closest one is the SetWindowSize method, give it the x and y co-ordinates of setting the size of the conso ...Show All
Visual Studio 2008 (Pre-release) Data binding with ObjectDataProvider and Collections
First my apologies for the long post, but I'm running out of ideas here. In my application, I have a fairly large amount of application data that is being collected by worker threads. The data is collected in several custom classes and most of that information must be displayed on the UI. Some of the information is simple (strings, integers, etc.,...), but some of the custom classes would contain collections of other custom classes. My original thought was that data binding was a wonderful magical way of hooking all of this information up to the UI for display to the user, but as I understand more WPF's threading model for the UI and how the built-in data binding classes work I now realize it's a bit more complicated. I'm trying to use Obj ...Show All
SQL Server Isolation level on ssis packages by default
Hi everyone, I'm seeing that for DTS (2000) are Read-Commited and for SSIS is Serializable. Could you please confirm that Along with this I see another little thing: by default too on a DTS packages you have "Limit the maxim number of tasks executed in parallel to: 4" How to understand this topic thinking on SSIS Thanks a lot for your time, enric vives wrote: Along with this I see another little thing: by default too on a DTS packages you have "Limit the maxim number of tasks executed in parallel to: 4" How to understand this topic thinking on SSIS In SSIS, package property MaxConcurrentExecutables is an option similar to that DTS property. By default it is set to -1, which& ...Show All
Visual Studio Team System Best way to do functional testing?
What is the best way to do some functional testing on a web application in VSTS For example, I have a list of inputs and a list of expected outputs. I want to store the actual outputs, and then use SQL reporting services to display for each test case: the input, the expected output, the actual output and whether expected/actual match. What is the "Best Practice" for this Should I store my inputs and outputs in a DB or other data store Note that some test cases involve multiple steps (for example, a user logging in, logging out, then logging back in). Is there a way to automate this Any input would be greatly appreciated. Thanks Hello, I think that web test/load tests are what yo ...Show All
Visual Studio Express Editions Use of RegistryKey
I have been looking in the forums for info on RegistryKey and found lots of good info on read/creating/deleting/etc. My question is very basic...Can I use Registry Keys to store flags that one program sets and another reads (at some subsequent time). I basically want to know if a user interface program has set a flag that other programs read and execute some functions based on it. Note that these are not programs running simulataineously, but will query this flag later on. Thnx OK good. Would you suggest a new subkey under HKEY_CURRENT_USER I had always heard to not mess with the registry, thus the question. ...Show All
Silverlight (formerly WPF/E) Sample Issue Editing XAML in Blend or VS.net
Hi, I just downloaded WPF/E to give it a first run through in the dev environment. I setup the SDK and downloaded the samples. When I open the xaml in blend or vs.net, the WPFE schema is not recognized and so I receive errors: The name "Canvas" does not exist in the namespace http://schemas.microsoft.com/client/2007 . Since the namespace of WPF and WPFE are different, how do I include the namespace below so that the designers recognize the WPF types : xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " Thanks, Thomas Goddard www.illuminatedpixel.com To get VS working you will need to install the WPF/E project template (which adds the WPF/E schema t ...Show All
Windows Forms ValidateChildren
I'm using ValidateChildren to validate all controls on my form after the user has pressed the Save button. Unfortunately for me, I step through the validation routines only to have ValidateChildren return false. None of the validation routines set e.cancel to true. What am I doing wrong Thanks! Mike hehe - never mind...my fault. I had a combo box that was incorrectly bound. So, when I selected the value in the combo box, my binding source position changed, causing ValidateChildren to fail. Gotta stop working on this stuff late at night... :) ...Show All
SQL Server Backup/Restore Stored Procedure
Hi there I just want to create Stored Procedure which will do following thing i) Create a text file, which will have a Schema Script(including all the constraint & others, for a database(by passing Parameter) ii) the same file must also have, all the data from the selected database tables,in again plain text format (could be CSV, or Tab SV, etc...) I mean to say, the file should be act as the full backup of database, in plain text. The same need to be done in the reverse order,this SP will do following things i)Open the file created by first SP, create new database, with same name as backup in SP one ii) create the tables, by reading the Schema script. iii) Insert all the data in corr ...Show All
.NET Development File transfer using serial communication(RS232)
hi, can any body suggest me good reference how to transfer files over serial comm using vs2005 C#.I am unable to understand what is event driver I/O and synchronous I/O which is better to me My task is just transfer files b/n two systems using serial ports. thanking you inadvance A.suneel Event driven I/O uses the DataReceived event. Synchronous I/O uses the Read() method. File transfers over a serial port are highly inefficient, consider it only if you are forced to. You'll need a error correcting transfer protocol (XModem, QModem, ZModem, etc). ...Show All
Windows Forms Strange behavior with Navigation in BindingSource
Hi, I got a problem. I have a BindingSource, connecting at my database to show me the data in my program, so I added 4 buttons to navigate, and I navigate using MoveFirst(), MoveNext(), MovePrevious and MoveLast, but what I noticed is that sometimes the method don't work as expected, this happens more when I edit some field. I don’t know what is happening but let's say that I have 6 items, so I edit item number 5, everything works fine and my database gets updated, but when I click the button to call the MoveNext() for example the field that is shown is not the right one, it goes to the item number 3 for example, so I need to click at MoveLast, and then everything comes back to normal. If I don't click at MoveLast it simple doesn't work ...Show All
Visual C++ Help Me Please
Hi im learnig VC++ 2005 and something wierd is goin on with my compiler.. when ever i build and run my projects an error pops up saying "This Application Has failed to start because MSVCP80D.dll was not found. Re-installing the Application may fix the problem." but here is the wierd part the file MSVCP80D.dll is present in my C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c folder i can see it but how come VS is not detecting it and i even tried re-installing the software but it doesn't seem to work can someone please help me!!! Thanks If it was previously in release configuration, the reason for the error was simply that debug libraries are not made available ...Show All
Windows Forms VS2005 MaskedTextBox
This is regarding a MaskedTextBox... I am setting a custom mask as 99999.99 , for a decimal number. The entry would be something like 66899.50. It possible that a user wants to enter only 356.50, so he has to move till the decimal by using space which is of course not acceptable. I want that as soon as user types a dot(for decimal) he should be allowed to enter digits after the decimal. Could you help me wth this as so to what combination of properties should be set. Thanks in advance, Manu. The tool can be downloaded using this link: http://download.microsoft.com/download/0/8/7/087e6a47-7306-4a5c-ad97-d1ffd58d712e/DecimalTextBox.msi We are trying to get it back to the winforms code sampl ...Show All
Visual Studio Tools for Office How to access an email Internet Header?
My add-in uses Outlook.Interop, and I work with MailItem objects for mail messages a;; the time. BUT these objects do not expose the Internet (SMTP) headers of the message, nor many of the fields in the header. I noticed that System.Net.Mail.MailMessage has a Headers property, but I don't know how to cast or convert a MailItem to a MailMessage, or even if that is the best path. I have seen examples of accessing the MailItem.MAPIOBJECT property, but these examples use a MAPI namespace that I can't find in Vis Studio 2005 for C# and .NET. Does anyone know how to get at the underlying email message Where I can find the assemblies for working with the MAPIOBJECT Other ideas Thanks! -Allen Allen Razdow wrote: ...Show All
SQL Server maximum users logged in sql express
we're planning to use sql express as our database server in our office. the database will consist of accounting, purchasing, marketing, sales, inventory, production and hrd tables. 80-100 users will use the system simultaneously in adding, editing, deleting, reports. i need some advice on the following: 1. maximum users that can log on to the database simultaneously 2. maximum size of the database tnx Hi, the maximum number of users will be most likely limited by hardware ressources not by a logical threshold, its around 32k users. maximum size of each database is 4GB. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problem with rendering lines in DirectX 8.1
Hi, Im using Visual Basic 6 with DirectX 8.1 to develop our software. In our program the user can choose to display graphics in 3D or 2D mode. 3D Mode works great without any problems. We have around 400 custumers and of them there been about 5 bug reports about 2D Mode. The problem for those few is that, when the model is loaded in to 2D mode, some of the line is not rendered. If the user using the zoom control or pan control it might come back. This is just happening for some few of the models. Other and maybe more advanced models are loaded and rendered correct. Its very hard for me to figure out what causes this problem, especially so few have reported this bug. I have a feeling that its might be something wrong with the displ ...Show All
