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

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

vtortola

Member List

bslim
Brian Foley
sqldummy
TAS-man
Zhou Yong
Kolf
millie_w
kampak1111
Robert3234
Grant Jenkins
NZ
Tigers21
Aaron Silverwatch
mike_b_a
ChevyVanDude
tommyn14
ErickBikeman
Neotech
Darren Voon
robinjam
Only Title

vtortola's Q&A profile

  • .NET Development SerialPort DataReceived Timeout?

    I'd like to get better control over when DataReceived are generated while using System.IO.Ports.SerialPort. In particular, I want to be able to control the timeout behavior. This can be done using SetCommTimeouts() when writing to the Win32 API but so far I have not found anything equivalent under .NET Anyone know how this might be done I was thinking I might be able to control it using IOCTL_SERIAL_SET_TIMEOUT but have not been able to find a way to access the underlying filehandle. Is there a way Hi, thanks for the reply. I agree that ReadTimeout applies to Read*() and not the DataReceived event. However what I want to be able to do is utilize the SetCommTimeouts functionality to control when DataRece ...Show All

  • Windows Live Developer Forums PixelToLatLong Issue

    Whenever I try to call the map.PixelToLatLong function I get the following error: Source: "VEValidator.ValidateInt" Message: "Invalid argument; input argument 'x' is not a valid 'int' value." Any ideas Here's the code - I wasn't aware you could type variables in JS mapPixel = new Object(); mapPixel.x = mapXPixel; mapPixel.y = mapYPixel; try { x = map.PixelToLatLong(mapPixel, map.GetZoomLevel()); } catch (err) { alert(err); } ...Show All

  • SQL Server Import/Export Wizard Connection Error

    Please help with the following error - I had been able to import/export without problem until I just encountered this error: =================================== An error occurred which the SQL Server Integration Services Wizard was not prepared to handle. (SQL Server Import and Export Wizard) =================================== Exception has been thrown by the target of an invocation. (mscorlib) ------------------------------ Program Location: at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType) at System.Reflection.RuntimeConstructorInfo.Invoke(Bindi ...Show All

  • Windows Forms Need Help getting image to show up in PictureBox

    I have a program that has an openFileDialog and some pictureboxes that I want pictures to show up in according to the images you choose in the openfiledialog from the local harddrive. But I don't know what to type in the GetThumbnailImage(); private void openToolStripMenuItem_Click( object sender, EventArgs e) { if (AddPic.ShowDialog() == System.Windows.Forms. DialogResult .OK) pictureBox1.Image.GetThumbnailImage(); } Hi, Please try this. private void openToolStripMenuItem_Click( object sender, EventArgs e) { if (AddPic.ShowDialog() == System.Windows.Forms. DialogResult .OK) pictureBox1.Image =Image.FromFile(AddPic.FileName); } ...Show All

  • Visual Studio Microsoft Document Explorer cannot be shown because the specified help collection 'ms-help://MS.MSDNQTR.v80.en' is invalid

    I have installed a RC version of VS Team Suite along with full MSDN installation. After completing installation, I'v got " Microsoft Document Explorer cannot be shown because the specified help collection 'ms-help://MS.MSDNQTR.v80.en' is invalid " error when I have tried to access it by doing "Start" -> "All Programs" -> "Microsoft Developer Network" -> "MSDN Library for Visual Studio 2005" When I accessed it from VS 2005, it only have SQL help available. I have tried to reinstall it several time but no luck. Any help would be appreciated. Eric I've tried the following: Uninstalled MSDN Installed Daemon Tools Mounted the DVD ISO image Installed from the mounted drive Still the s ...Show All

  • Visual Studio Express Editions reading

    How do i read, write, create, and edit variables in an configuration text file. Thanks. 1.) You don't want a text configuration file. There's something much better. 2.) to create settings variables a.) Open your project b.) On the main menu Project | Properties | Settings c.) create a user scoped variable called foo of type string 3.) To write foo: a.) In your code My.Settings.Foo = "green" My.Settings.save 4.) to read foo: Dim A as string = My.settings.foo ...Show All

  • Visual Studio 2008 (Pre-release) Long loading window

    Hello all, I'm a beginner in this field and I hope that somebody can help me. I have a window which take a while to be displayed and I wonder which is the best way to solve this issue. The window contain some controls which get data from an SQL server (maybe this help to understand way is taking so long). I've tried many solutions but I end up only with exceptions... What I like to have is anohter window which is displayed until the "longLoadingWindow" gets initialized. A C# code sample or any idea is appreciated. Thanks in advice. Ovidiu Howdy, What you can do is create a seperate thread that goes off and deals with your SQL connections to leave your UI thread processing wh ...Show All

  • SQL Server Integration services Globla variable and scheduling issue

    I have one main package from which i am executing 5 other packages.I want to use one single DB connection in all the packages which i am declaring in Main package and it should be available in all the child packages. How can i Do this Few Variables are common is all the packages so i want to keep it Globally so how can i access those variables How can i schedule package in sql server Thanks Parent Package configurations can get a little tricky. The easiest thing to do is set up an environment variable with your connection string, and then configure your packages to use that environment variable. To configure your packages go to the SSIS-->Configuration menu, and then in the drop down choose Environment Variable. M ...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

  • Game Technologies: DirectX, XNA, XACT, etc. Vibrate the controller for 1 second?

    Hi, I've just starting playing around with XNA for xbox 360 and have a noob question I want to vibrate controller 1 for a single second. I know to set vibration on I can use the code: GamePad .SetVibration( PlayerIndex .One, 1.0f, 1.0f); and to turn it off: GamePad .SetVibration( PlayerIndex .One, 0f, 0f); But how do you set the length of time for it to vibrate I have experience in programming with C++ but have not yet had the chance to fully immerse myself into C#. Thanks Sonix2001 wrote: Thanks Ecrofirt That works fine I don't know that what I'm doing is the preferred way to do these things, it's just the method I use because I know it works. Someon ...Show All

  • SQL Server Using RDA to insert an image type from SQL Mobile to SS2005

    Hiya, last one (for a while), I swear. I'm getting the hang of this now (famous last words). I've got a data file saved as an image type in my SQL Mobile database, and I'm trying to send it over to my SS2005 Server via RDA, which seems the simplest way possible. The application will only have periodic rows to send over and insert into the Server's DB, so it seems like doing a merge or a push is unnecessary overhead. Is there some way to include parameters in the SQL string argument to the method SubmitSQL Or, embed the byte array into the SQL string For the life of me, I can't figure out how to do this. So, if column data has type image, my statement would look like what string sSQL = "INSERT INTO sensor_str ...Show All

  • Software Development for Windows Vista Selection Clipboard Operations

    Hello, 1. How does one know if there is selection (strokes or elements) without having to put it on clipboard 2. How does one delete selection without putting it on clipboard 3. If the above two require clipboard, is there a way to get a temporary clipboard so that the "main" clipboard contents are unaffected Thanks in advance. Regards, Vinay Agarwal Hi Vinay, 1. Call InkCanvas.GetSelectedStrokes() or InkCanvas.GetSelectedElements() to find out which (if any) strokes and elements are selected. 2. There are three ways to delete the selection without putting it on the clipboard: a. Call InkCanvas.Strokes.Remove(InkCanvas.GetSelectedStrokes) b. Send the ApplicationCommands.Delete com ...Show All

  • Community Chat Using Vista?

    Good idea Joe! Okay, I'll go first.  I'm using Vista RC1 full time now.  The computer seems quieter--doesn't take so many trips to the hard disk for VM paging.  I find going back to XP an unpleasantry, so I think Microsoft is succeeding here. Glass is nice.  I think the performance is what I expected it to be on an Intel Advanced Graphics card (Dell Dimension 9100).  Office 2007 is also pleasant to use, but they stil have some cleanup work to do on their UI. Who else is using Vista   Brian I have a Celeron 1.2GHz if you want me to check it out on that :-) Automatically Vista will take out the whole graphics system because it doesnt meet the requirements..... Ce ...Show All

  • Visual Basic Custom CType operator not being called

    This code defines a custom CType operator that converts Integer to TestNumber. This works great when converting from Integer to TestNumber. But an InvalidCastException occurs when converting from Object of type Integer to TestNumber. The online help for CType function implies that this call should work. "If the conversion is undefined, an InvalidCastException occurs. This can happen, for example, if expression is of type Object and its run-time type has no conversion to typename ." But because of the custom CType operator, there *is* a conversion from the run-time type (Integer) to typename (TestNumber). This problem is causing big headaches in my app. It happens on both VS 2005 and VS 2005 SP1. This seems like a CType bug ...Show All

  • Visual Studio Express Editions How would I?

    I have created 2 forms on menu click the original form hides and the other appears I can make the original form hide, but how can I make the other appear Thanks replace the variable and instance names appropriatly. So if you have a form named: "Lucy" change Form2 to "Lucy" I am just giving you examples to which you have to replace the names and so on to fit your code ...Show All

©2008 Software Development Network