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

Software Development Network >> Jerry Lew's Q&A profile

Jerry Lew

Member List

flash.tato
Amin_msw
Umberto
kiran1234
Andrew Buyan
SK_Rajdev
ThEpRoPhEcY373
cwchilders
Tiago Nóbrega
RustyBadger
Can-Ann
ParkerJ21
vladb
GlennZarb
gchippie
Louisb
SergioHormaeche
Cest la vie
shmulik_segal
vitich
Only Title

Jerry Lew's Q&A profile

  • .NET Development Vista "The web server does not appear to have the FrontPage server extension installed"

    I have Vista and office 2003 installed on my pc and IIS. Everytime I try creating a web site on Visual Studio 2005, it gives me the following error. "The web server does not appear to have the FrontPage server extension installed" PLease advice... Thanks Malik Thi worked for me too. Is there any way that the right clicking may not be needed. Som permission/privilege setting that can be done so that the user running the application is recognised by the system as an administrator automatically. ...Show All

  • Visual Studio Express Editions Keycode for '9' key and 'period' key

    I am reseting the number '9' key (across the top of the keyboard) to '0'. At the same time, I am reseting the period key to the number '9'. When I pressed the period key, the number '0' appears. Can anyone tell me how to keep this key, the period key, from showing the number '0' and show the number '9' instead My code is below. If e.KeyCode = Keys.D9 Then e.SuppressKeyPress = True If e.Shift Then SendKeys.Send( "0" ) Else SendKeys.Send( "0" ) End If If e.KeyCode = Keys.U Then e.SuppressKeyPress = True If e.Shift Then SendKeys.Send( "1" ) Else SendKeys.Send( "1" ) End If If e.KeyCode = Keys.I Then e.SuppressKeyPress = Tru ...Show All

  • SQL Server Process task hangs running bcp

    We are attempting to use Microsoft SQL Server Integration Services Designer Version 9.00.2047.00 to run a BCP command from a Process task. We are able to do so without a problem when running it interactively, but when run as a SQL Server Agent job the bcp process never completes and the job hangs indefinitely. We also tried using a Script task for this, with the same result. Has anyone else run into this problem Thanks, Ron We stumbled upon the solution for this, but it does seem that a glitch in SSIS may be the root cause. When running BCP in a Process task, the path to the BCP executable must be provided. When running a package interactively a UNC path name to bcp.exe works fine, ...Show All

  • Visual Studio Express Editions Fundamental doubts on DLLs and Lib files on Windows

    Hi, I am a Solaris developer trying to port an application to windows using Visual C++ Express Edition and SDK. The application can be briefed as a module for Apache 2.2. The output I want is a DLL which has a function which will be called by a module in Apache. I have a core set of files which I compile to a static library A.lib. Then I have another set of business logic which uses A.lib and the output is B.lib. Around B.lib I have a set if interface methods which I want to publish as exported function in a shared library say C.dll. When I build I get the size of A.lib < B.lib. I want total logic as a single DLL C.dll and expect it bigger than both A.lib and Blib. But the size is A.lib around 5 MB, B'lib around 4 ...Show All

  • Visual Studio Express Editions Visual C++ Express- Cant do a freakin thing with it

    I downloaded microsoft visual C++ 2005 express. I tried to run a basic C++ hello program that should just print hello using cout. It wont work it gives me ------ Build started: Project: Hello2, Configuration: Debug Win32 ------ Compiling... Hello2.cpp Linking... Embedding manifest... Project : error PRJ0003 : Error spawning 'cmd.exe'. Build log was saved at "file://c:\Documents and Settings\My Name\My Documents\Visual Studio 2005\Projects\Hello2\Hello2\Debug\BuildLog.htm" Hello2 - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== I think I read something about needing the new microsoft platform sdk for to run ...Show All

  • Visual Basic Decoding file that has multiple encodings in it (Data File)

    I'm trying to decode a datafile that contains multiple 256-byte records. Some of the records, headers specifically, are encoded in ASCII. The rest are encoded in 16-bit LSB (Least Significant Byte) integer format. I already have a workaround that involves checking the first character and if it's a certain value then I decode the record into ASCII, but if it's a data record, then I need to decode into Int16. The workaround involves doing a My .Computer.FileSystem.ReadAllBytes(OpenFileDialog1.FileName) From there I determine the record type based on order. First and Second records are ASCII, so is last. The rest in the middle are data. I use a select...case inside a for next to loop through the groups of records. Can an ...Show All

  • SQL Server Foreach?

    Hi, I’m not sure whether a “Foreach” capability is achievable in SQL; I’ve examined joins, unions and subqueries but can’t come up with a solution. Scenario is 3 related tables: Location, Room, Booking (date and guest name) and what I wish to do is produce a data grid that shows every for each Location and for each room the status on a given day as follows: Location Room Date Guest Main 1 1/1/06 Jones Main 2 1/1/06 Smith Main 3 null null Annex 1 1/1/06 Bloggs House 1 null null In psuedo-code what I want to do is For a given d ...Show All

  • Software Development for Windows Vista "Creating a custom activity that inherits from another custom activity is not supported."

    I have just noticed the following statement at http://windowssdk.msdn.microsoft.com/en-us/library/ms733604.aspx: "Creating a custom activity that inherits from another custom activity is not supported." This is a major limitation in WF if it is true. Can someone confirm that this is the case, and if so explain why an inheritance hierarchy of custom activities is a problem Encapsulating common behaviour in a base custom activity class seems to be a very common approach. Thx Hiya Spigot I have a custom base activity that inherits from Activity and then have two other custom activities that inherit from that base one. All of the activities that I have inherit from one of the two that inherit fr ...Show All

  • Smart Device Development Sending SI or SL WAP Push Messages

    Hi, Does anyone know if WM5 support sending WAP Push Messages such as SI/SL (Service Indicator/Load) And how to get that done Thanks. See http://msdn2.microsoft.com/en-us/library/aa457715.aspx ...Show All

  • Visual Studio Team System Load test response time identical with or w/o gzip compression

    We have two web servers: one is configured with gzip compression while the other one is not. I'd expect that when we run the load test against the web server w/gzip compression, the response time would be faster. But our testing shows both servers have similar response time. Any idea why Regardless of what connection speeds I use, the response time appears to be very similar. I know our web server is configured properly. When I ran the test using Fiddler, I could see the content length of most pages on the web server with gzip was about 1/4 the size of the one w/o. ...Show All

  • .NET Development Serialization of type that is not known staticaly

    Hi, I have a problem when trying to serialize class with field whose type is not known staticaly. When I try to do something like: StatementResponseBody srb = new StatementResponseBody(); srb. Statement = new AccountBalanceType(); srb. Statement.ExtendedAccountInformation = new PaymentAccountExtendedInformation(); srb. Serialize(); exception is thrown with inner exception message: The type Service3.PaymentAccountExtendedInformation was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically. but srb. Statement.Serialize(); serializes srb. Statement as excpected. How can I serialize srb Class definitions a ...Show All

  • Windows Forms How can I copy and paste custom objects in VS 2003 or VS2005? Is it possible?

    Experts, Need help. I have custom object entended from a Form object(this is child form of mdiform). It has many controls such as tabs, richtextbox, toolbar etc. I wanted to clone a new object including all objects and place this as a new instance and that will become another childform of MDIform. How can I copy and paste custom objects in VS 2003 or VS2005 Is it possible Thanks, Not like that. I have a custom class with few controls over it. I wanted to clone the class instance with all the controls and values with it programmatically like copy and paste. Here is the topic http://www.codeproject.com/cs/miscctrl/ControlCloneTst.asp . Is there a simple way to clone it either in Vs2003 version or VS2005 vers ...Show All

  • Windows Forms Windows Themes and Appearance settings are causing Forms appearance to behave abnormally.

    hi I have written a form in C#, The problem we are facing is that whenever the XP theme is set to Silver etc.. it changes the appearance of the form. I would like the form to not be affected by theme settings. Is there an easy way to do this Thanks. Dwight Hi, Dwight Here is the link: http://www.codeproject.com/useritems/XP_theme.asp df=100&forumid=216926&exp=0&select=1235783 Hope it helps. ...Show All

  • Visual Studio 2008 (Pre-release) Trouble loading Baml using LoadComponent

    Hello, I'm trying to load some baml from resource assemblies using Application.LoadComponent. As a parameter I use Uri that contains full name of assembly with culture: "en". But LoadComponent gives me IOException, that same assembly, but with culture: "neutral", was not found. here is a sample that first loads PresentationFramework Luna baml, and then tries to load mainwindow.baml from Sparkle. Luna baml is loading as expected, but Sparkle baml throws exception: static readonly string PROGRAMFILES= Environment .GetFolderPath( Environment . SpecialFolder .ProgramFiles); static readonly string PRESENTATION = Path .Combine(PROGRAMFILES, "Reference Assemblies\\Microsoft\\WinFx\\v3.0\\Presentati ...Show All

  • .NET Development detailsView and/or tableAdapter data manipulation

    Hi! I have the following problem: Theres a detailsView that I use to let users enter data. This data then gets published on a website (think simple CMS). But the users that enter data are not tech-savvy, therefore I need to replace CR and LF with <br />. This isn't difficult as is, to perform this all I need to do is "string.Replace("\r\n", "<br />")", but the problem lies in the data access. the detailsView is fed from a tableAdapter that gets a whole table from a DB. This code is not written by me, so I'm not into the technical details. All I am looking for is the right moment and way to let my replace do its work. I tried to access the data within the detailsView (programmatically) usin ...Show All

©2008 Software Development Network