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

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

HarveyC123

Member List

GeeMann
GSReddy
Mazzica
Rush hour
Toni Greco
Rob Hounsell
Thaina
franky0101
Buddhist
jfkennedy5
Blast
JerryNixon
vijee
Bill Reiss
Aditya.P
Flack
Csaba Vegso
Zadoras
mattdawg
TTris
Only Title

HarveyC123's Q&A profile

  • Visual Basic Illeagal Characters In Path Error.

    Hi, I have this error, Illeagal characters In path. I figured out it happend when the FILE NAME had spaces in it, so It took me one week to make it change the spaces to "_". In the debug I didn't have the problem any more. Now I installed the program, and it happend. I don't know the exact line, but if it's because of space it's in the Folder's name. SPACE ISN'T AN ILLEAGAL CHARACTER! Why does it happen Is it a bug in VS How can I fix it Thanks. Of course you can! At the very least you can use Try and Catch and pop up a messagebox with error messages. Or you can dump the call stack to a file, or capture a screenshot. The best thing you can do (if you're using VS2005) is use the " ...Show All

  • Windows Forms DateTimePicker bind to DataGridView Issues On Displaying Blank Date

    hi, I got two (2) problems on this. 1. by reading alot on the forums/thread, I learned that to display blank date is by using CustomFormat = " ". At the same time I added code in ValueChanged to set value to mindate if text length is zero. My problem right now is that if the last value is min date and when I do a dropdown to select the date, the date choice is on the min date (eg. Jan 1901) which can cause trouble to get to the current year (need to click right arrow keys alot of times). Can I default it in a way that the calendar month that would be display on dropdown is current date I tried OnDropDown and change value to date.today but still doesn't work. 2. the datetimepicker is already displaying blank date, ...Show All

  • SQL Server string variable size issue

    I have to send an email using a variable as message body... the variable gets its value from database varchar(8000). Due to limited size of string variable in SSIS the value gets truncated. Any workaround Thanks Mahesh, Your Script Task code isn't creating the message body's text so it sounds like the truncation is happening in your stored procedure. If you are using the Execute SQL Task to call the stored procedure it doesn't limit the size of the returned string. Is your package currently just an Execute SQL Task that sets a variable with a precendence constraint to a Script Task You shouldn't be seeing varchar(max) or varchar(8000) in the package, the datatype that you would choose would be string. If you're recei ...Show All

  • Visual Studio Tools for Office VSTO 2.0 Excel Project Recurring Compile Error

    I have three Excel VSTO 2.0 projects in a single solution. When I build, I keep getting the following error in one of them: C:\Program Files\MSBuild\Microsoft.VisualStudio.OfficeTools.targets(96,9): error : The build process failed because all the worksheets in the workbook you are using in this solution are protected. Turn off the protection of at least one worksheet and then build again. The message returned is: Failed to add the customization. The other projects are essentially identical and never have this problem. I have cleaned out the projects, compared the .csproj files in notepad, nothing is different or out of place. The other worksheets in the other projects are protected in exactly the same manner. Further, when I unprote ...Show All

  • .NET Development Sending mails on a localhost IIS SMTP Server

    Hi, I wrote a code to send mail and I want to test on my IIS server. I tried to set up my IIS SMTP server then I used Outlook to check my email but I had an exception Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: 'localhost', Server: 'localhost', Protocol: POP3, Port: 110, Secure(SSL): No, Error Number: 0x800CCC0F is there any tutorial for setting up IIS and Outlook to send and receive mails on the localhost server I saw in many WebCasts doing it but they didnt show how to set up the servers. Thanks in advance. From the sounds of it you do not have a POP3 ...Show All

  • Visual Studio text gets truncated or cut

    i have a problem when i install my application in some machines. i have a field which is possible to contain very long text so the can grow attribute is set to true. however, when i install the application in some machines, the text in the field sometimes gets truncated and it is somewhat forced to cram all the characters in the allotted space even though the can grow attribute is set to true. in the machine where the installer of the application is made, the field displays the data correctly. this is true also in some machines. any help will be greatly appreciated. thank you! sorry for the late reply... you can get the patch in one of these sites: http://technicalsupport.businessobjects.com/ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Reset or not reset a IDirect3DDevice9?

    Hi @ all, i'd want know if calling IDirect3DDevice9::reset() is the correct way after switching from windowed mode to fullscreen. In PresentParameters there are some attributes that have sense only in fullscreen mode, as well as FullScreen_RefreshRateInHz or MultiSampleType. Have I to call reset() function Is it the correct way What do I have still to check Thx ;) I've gone through the SDK docs after reading this post and did not find anything about it. I have'nt got time to do some more tests but I've never noticed so far. Do you also think that conclusion's wrong ...Show All

  • Visual C++ DLL registrations errors

    Hi all, I have created a setup and deployment package. In this package, I have included DLLs that are meant to be self-registered upon installation. I have shipped it to someone else and now the person gets the following error: NAS New HAL API > Module C:\Program Files:\NAS New HAL API\NAS New > HAL API\OGT.dll > failed to register. HRESULT -2147010895. Contact your support personnel. I have tried searching for the error on the internet but the best I get is a similar error on support. Basically the suggestion is: To resolve this problem, download the latest Microsoft Data Access Components (MDAC) version. You can download the latest MDAC version from the Microsoft.com Download Center. To do this, follow these steps: M ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Writing games

    I'm new to writing .net applications and a complete game writing virgin. What are the processes involved in writing games What additional tools would i need to create graphical content I understand that XNA GSE is aimed at the hobbiest but how much knowledge will I really need Josh A wrote: Thanks for the clarification. I just needed to figure out the direction that noob should go. And I'm sure you might have the chance to answer more of my questions. Yeah same here, I also need some newb help, I hope someone creates a good XNA Dev. site, or MS possible expanding their current one, I am sure people will though. ...Show All

  • SQL Server Help with installing VS Tools

    Hi, I have a problem with the installation of SSCE31VSTools-ENU.exe into VS2005. The installation ended after a few seconds although in the event log there is information that the product is successfuly installed. However, when I run Visual studio there is no project under Smart Device regarding SQL Compact database or something similar (there are only templates for: device application, class library, control library, console application, empty project and nothing more) VS2005 is in this version 8.0.50727.762 (SP.050727-7600) In application event log there is: Product: Microsoft SQL Server 2005 Compact Edition Tools for Visual Studio 2005 [ENU] -- Configuration completed successfully.'" Has anyone some idea if there is a ...Show All

  • Visual Studio Express Editions pictureboxes without stiply lines around them ?

    Hi... I would like to know if someone could tell me, how to get rid of the annoying stiply lines that are around pictureboxes Even if i set the borderstyle to "none", there are still stiply lines around the pictureboxes. Can they be removed Thx in advance... Sjas Unless you are imposing those lines via code...I do not believe they are comming from VB or from the picturebox control....I have never had an issue with the border or mysterious lines showing up in the graphics ...Show All

  • Smart Device Development "Number"Box

    Hi, I'm trying to make a textbox that only allows people to enter numbers - when you press a number it immediately shows the actual number, not the letter associated with it. Can anyone give a code snippet or some ideas on how to do that. Edit box is available as a component within the existent MFC support that came with WM5.0 SDK. For more info, check: http://msdn2.microsoft.com/en-us/library/f7yhsd2b(VS.80).aspx ...Show All

  • Windows Forms Publish ClickOnce project with Team Build?

    Does anyone have any examples of how to create a Team Build BuildType that publishes the project similiar to the way you manually do it in visual studio I already have the BuildType created and working (it gets kicked off on a schedule). I've also created a BeforeDropBuild task that does GenerateApplicationManifest and GenerateDeploymentManifest that also works. This was a bit confusing -- when the BuildType is run not through the GUI many of the properties don't exist and most of the examples appear to assume they would. Anyway, these steps work in that the build does not fail. Somehow I need to publish the manifest I suppose, but I can't find any examples of how to do it. I'm not even sure I know the right questions to ask. Any help w ...Show All

  • SQL Server Add parameter to "navigation" url

    Add parameter to "navigation" url - Hello, I'm trying to add a parameter to my JUMP TO URL but it doesn't work. basiclly i'm useing javascript there: javascript:window.open('http:www.a.com num=XXX'); i want to change the XXX with a value from the dataset. I tried - javascript:window.open('http:www.a.com num= + Fields!ME.Value '); or - javascript:window.open('http:www.a.com num= & Fields!ME.Value '); it didn't worked :( any help = window.open( 'http:www.a.com num= " & Fields!ME.Value & "' ),_top" Ayzan ...Show All

  • .NET Development "Argument type 'ushort' is not CLS-compliant"

    I have a class that opens a USB device using a pid and vid. These values are traditionally unsigned shorts (16bit unsigned). I made a static function for creating a device with UInt16 arguments and I get a compiler warning telling me the UInt16s are not CLS compliant. ("Argument type 'ushort' is not CLS-compliant") I've used them in other functions without warning. What's wrong with this public class Device : System.IDisposable { public static Device OpenDevice(UInt16 vid, UInt16 pid) {} } It means that not all CLS compliant languages have to support this type. Therefore you must either mark your assembly as being not CLS compliant or use another data type like int32: UInt16 Structure ...Show All

©2008 Software Development Network