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

Software Development Network >> Lewis Yeung's Q&A profile

Lewis Yeung

Member List

Ning
KarenK
AndyWillig
rKarthik
NoEgo
airwalker2000
Buddhist
FriedConsole
shiveta
ab2304
DiamondDavo
BABSBINI
denap
Ceres629
Erik Pedersen
h1
sql server2000
ACKH
byronfromwesleyan
bola shokry
Only Title

Lewis Yeung's Q&A profile

  • Visual Studio Tools for Office Outlook Macro - send email separately to multiple contacts?

    Hi, I'm trying to write a macro for outlook 2003 to send email different contacts separately that means when some person receives the email, they will see their email address in the To section. Currently if I use BCC, the person will see the same email adress for From and To. Do you know how to write codes to connect to the"new message" windows in outlook and all the controls in that windows Thanks. Sue, I have this same problem at work but I am not advanced enough in Outlook coding to understand your answer above. Here is an example of my problem.  Daily we have to send mass emails to customers and we use the TO line.  But, we want the customer to only see his name.  I k ...Show All

  • Visual C# SqlParametersCollection only accepts non null paremater types

    Trying to pass parameters to an Sql Stored Procedure I got this error (the first parameter: Table name): SqlParametersCollection only accepts non null parameter type objects, not String objects. I do not understand it. I do have string parameters and I have null parameters, some of them may well be null. What am I going to do about it Thanks. L1Quote.DateTime = DateTime.ParseExact (Encoding.ASCII.GetString (Data, i, 14), "yyyyMMddHHmmss", CultureInfo.CurrentCulture); Mario, thank you. A little problem: An error message, I assume insignificant, that is not unsurmountable: The DateTime represented by the string is not supported in calendar System.Globalization.GregorianCalendar . I had to insert unsing Syste ...Show All

  • Visual FoxPro Visual Foxpro report writer

    I have a dbf with following fields bill no, bill date, cust name,item name,qty,rate,amount and i have 553 records. i want a simple report on 132 column stationary. i dont want totals also. (so no page footer or summary). i used visual foxpro report writer. but the report does not print with proper ejection i.e. second page starts printing from bottom of first page and third page prints from bottom of second page and so on. printer is absolutely fine because documents from excel and word print with proper page breaks. can anybody help Because we are confused about what you want. You have to set the page length for your printer.  Make sure you click on the FILE Menu and choose Page Setup.  There is also s ...Show All

  • SQL Server Download Link of SQL Express 2005 not working

    When I click Download, it show NOT FOUND What happened Hi, Download it from http://msdn.microsoft.com/vstudio/express/sql/download/  this link is working properly. Hemantgiri S. Goswami   ...Show All

  • Visual Studio 2008 (Pre-release) Printing capabilities

    Hi, i have a custom control WPF* (which is redering some data, in a required style), now i want to print this piece of control, how do i do it. also is it possible that i can save the image of this print. Thanks and regards Brij Hello Rene, I'm not sure the cause of the problem you are describing. However, be aware that some UIElement objects will handle layout differently depending on their context in the visual tree. You may want to try searching the forum for threads relating to ListView layout, as that may be involved in this case. Happy Coding, Aaron Lahman ...Show All

  • Visual Studio Debugging solution that consists of a console application and two static libraries

    Hi, I am porting a project that was written in VS 6.0 to VS 2005. This is pure C++ project. The project consists of one console application and two static libraries. In order to make it clean, I have created a new solutions and copied the source files from the old projects. I have made the appropriate changes so the solutions are compiling and linking. The console application is the main solution and I have added the static libraries solutions to it. I have two problems which I think they might be related: 1) While linking I see the following warning: Warning 11 warning LNK4099: PDB 'vc80.pdb' was not found with '..\..\IPStreamer_Lib\debug\IPStreamer_Lib.lib' or at 'c:\Projects\General\TSSplicing\IPStreamerTester\debug\vc80 ...Show All

  • Windows Forms 3 Projects in Single Solution

    Can i deploy an application having (3 projects->UI, BLL, DAL) in one solution. if i update an assembly in one project then what will be updated [only single assembly or whole exe file will be replaced on clients] ...Show All

  • Windows Forms Security Error while installing ClickOnce application

    Hello, I have successfully deployed my ClickOnce application to over 20 computers, but today one could not install it. It is running Windows XP, and the prerequisites (.NET 2.0 and Windows Installer 3.1) were installed correctly, but according to the log file, I get a security error when trying to launch the application: 'Windows Installer 3.1' RunCheck result: No Install Needed Launching Application. URLDownloadToCacheFile failed with HRESULT '-2146697202' Error: Error al intentar descargar 'https://...../Sic.Client.application'. (Error downloading from that path) I looked up that HRESULT code, and according to this page: http://msdn.microsoft.com/library/default.asp url=/workshop/browser/webbrowser/reference/constant ...Show All

  • Visual Basic Failed to import ActiveX control

    I am using VB2005 express and VC#2005 express. With my old friend VS2003, whenever i needed to add flash to my WInforms, all i needed to do was to add the control as a com component and drag it on the stage from the toolbar. Now, when i did the same in new express version, althogh it is added in the toolbars and the references list, but still, whenever i try to drag a shockwave flash instance on my win form, i get the error: Failed to import ActiveX control, please ensure it is properly registered. does some one have any idea how to add flash comntrol as we used to do in earlier versions Please reply this ASAP. Thanks and regards. Syed Mazhar Hasan Ok here is my Solution: After y ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3D racer problem (collisions)

    Hi im trying to make a very very basic 3d racing game. Basically, ive spent hours trying to work out how to detect whether my rocket (the car) has left the side of the track or not. I cant work out how to properly use bounding boxes/bounding spheres in 3D and i dont understand how that would even work with a track with bends etc. Here is my source code for you to download and try and understand what I mean. Any help is really appreciated. EDIT - http://www.sendspace.com/file/6pcunk http://www.megaupload.com/ d=G6CLZF70 Or if someone could just explain how to go about working out whether the car has left the track or not What fuctions you should use or whatever. OK thanks for the help. However im not sur ...Show All

  • Visual C# Connect to Database...

    I have install the Northwind sample database by entering at the DOS prompt osql -E -S (local)\sqlexpress -i instnwnd.sql which runs through lots of numbers so I assume has all gone ok. When in VS I go to "Tools/Connect to Database...", choose "Microsoft SQL Server" and ".NET Framework Data Provider for SQL Server", then in the next dialog there is one server in the combo which I select, but I cannot get any databases to appear in the "Select or enter a database name" combo. I think you need a SqlServer software is installed in your machine and in c# you type sever name on combobox like: (local) then your database name will appear ...Show All

  • SQL Server Calling debugger from SSMS

    I realize that the DEBUG capability has been removed from SSMS and moved to the IDe for Visual Studio. As much as that annoys me , I am dealing with it. Is there a way I can open a SP into the debugger from SSMS I very much miss the ability to right click a SP in my list of 300 and choose form edit, run or debug. I dont care if hte debugger is a separate app, can't I have SSMS send my proc to the visual studio debugger Currently I have to open the VS app separately, and then establish connection, and the re-fnd my proc in that very long list of 300 that is in there. I know that. The question more specifically is: Is there a way to link the SSMS annd hte visual studio together such that I ...Show All

  • .NET Development Update Database on a SQL server From multiple Clients

    Hello (VB.Net & Sql 2005) i need to update a DataTable on the server (Sql) from different clients. Updating can occur at the same time from 2 or more clients. if i use datasets, the database might have been changed since the time i've loaded the data into the dataset. So, suppose that im Client1 and i'm gonna add to the amount of a Column in a table in my dataset , but the column in the database has been updated(changed) by Client2 after i've loaded the DataTable into my Dataset. in this case, if i update the database using my dataset, the change that Client2 has made to the data is ignored and lost. Do you know any strategy to avoid this mistake in an application should i use "stored procedures" an ...Show All

  • SQL Server Adding a static text to a report header???

    Does anyone know how to add static text to the report in the same section where report parameters and View Report are located Thanks, Yadgor2000 Drop a textbox in the header and type into it. Bear in mind that a rich/html textbox is not supported so you can't format individual words. Any formats and fonts will apply to the entire contents of the textbox. ...Show All

  • Visual C# File.Copy gets NotSupportedException or, does it?

    Hello, I have an application that copies files. fairly simple. I call the IO.File.Copy() method to do it. however, with some files I get an error. "The given path's format is not supported." The files this occur on are random and doesn't seem to tag to a specific file as if I rerun the program again it will copy the file that failed before without error. I figured it was just a problem with the string variable I used for the method as if it was incorrect or something. Here comes the weird part. I checked the location where the file is suppose to be copied to and the file is there. The exception is raised after the file is copied. I checked the file itself and there is no corruptions. I also checked the string variable b ...Show All

©2008 Software Development Network