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

Software Development Network >> Paul Stovell's Q&A profile

Paul Stovell

Member List

enric vives
julie s.
Agent00
Yeago
Derek at Potters Clay
UndoingBasher
N_John
Kostas Pantos
Emre Çetinkaya
Apollo13
Markw2004
Jessica Alba
dizzyjay
kirchu
Alastair Q
Helen999888
Blast
Vikram747
Juan Peron
StephenMas
Only Title

Paul Stovell's Q&A profile

  • Visual Studio CAB File Project: DLL Version for CAB file

    Hello, I hope that I have the right forum for this post. Anyways, I have a Microsoft Visual Studio 2005 CAB file project. The project builds the CAB file nicely packing properly the single DLL and its corresponding INF file. VS05 also automatically adds an OSD file to the CAB file, which it automatically creates. Here is where my problem lies. The DLL does have version information and is signed. The DLL reports and furthermore viewing the properties for the DLL shows the correct version string (i.e. 2.0.60914.1). The problem is that the OSD file The file, shown below, should show the version as "2,0,60914,1" but rather shows "1,0,0,0". What I don't understand is how VS05 arrives at the version number and how can I get ...Show All

  • SQL Server Query for 4 weeks average ..Need help

    i have 3 tables, each with a date(it has daily dates) column(column name is same in all tables) Each table has columns say "value1","value2", "value3" i want data from all these tables together.such that my first column will have data weeks and other 3 columns count1,count2,count3 will have average of next 4 weeks count..placed infront of week. weeks count(value1) count(value2) count(value3 ) 1/1/2005 101 88 221 1/8/2005 100 81 151 1/15/2005 87 96 301 Average calculations Here : week 1 2 3 4 Count1: 101 = ( 99 + 105 + 110 + 87 )/4 100 = (105 + 110 + 87 + 98 )/4 Plz lemme know if u have any suggestions.. Sumit: I ...Show All

  • Visual Basic For your VBA, CUT AND PASTE the Function out of this VB.Net code.>>

    Hi! I have a list with prices of US Treasury bonds. They are quoted in a particular way that I would like to convert to decimal form. They are quoted like this eg: 99-02. Now this means that the price is 99 and some decimal. The two first numbers are the number of 32:s. Thus in this case the price is 99 and 2/32. However if there are three decimals eg 99-021 the last digit refers to the number of 124:s. Thus the price is 99 and 2/32 and 1/256. Sometimes There are only two decimals followed by a plus or minus sign eg 99-30+ or 99-10-. The plus/minus indicates that you should add/subtract 1/64. Keep in mind that the non decimal numbers may be one, two or three digits. Thus, it could be eg. 6-02 87-22- or 105-21+. Is there any wa ...Show All

  • .NET Development Network Trace - tracemode and maxdatasize

    Hello, In my application i'm using System.Net.Mail for send mail. I need to log smtp server response so i have enabled trace log, reading instructions in this article: http://msdn2.microsoft.com/en-us/library/ty48b824.aspx (How to: Configure Network Tracing). In the log i want to remove traces in hexadecimal using the tracemode attribute on the switches element setting it to: protocolonly. Unfortunately when i put the tracemode attribute in my xml, Visual Studio 2005 says that it's not declared. I have the same error setting maxdatasize attribute on source element. Can you help me ps. Sorry for my bad english Regards, Fabio. ...Show All

  • Visual Studio Express Editions Problems compiling code

    Hi I am totally newbie with VC++ Express 2005 and I am learning this language. So trying to compile the code in a command line I have tried this: cl /EHsc source1.cpp source1.cpp source1.cpp(1) : fatal error C1034: iostream: no include path set But I have the path configured for include dir. Does anyone have any idea halmeida wrote: cl /EHsc source1.cpp source1.cpp source1.cpp(1) : fatal error C1034: iostream: no include path set But I have the path configured for include dir. Did you use the Visual C++ 2005 IDE Tools | Visual Studio 2005 Command Prompt to start your console session If you do that, the session starts with a batch script that sets the separate ...Show All

  • Windows Search Technologies WDS 3.0B2 - Losing list of included locations?

    After installing B2 I went to options and set search to include most of the folders on my C drive. After doing that search status showed that it was going to index 120K files. I tried a search and didn't get a match I thought I should have. I went to options and the included folders list doesn't include the items I'd previously added. I added them again. Again, search status said it would index 120K files. It is a few days and I just opened options again and the list of included folder is empty again! I'm having the same problem with WDS 3.01 losing it's list of included locations and the indexed entries it created. I've also tried adding a UNC path, but it doesn't help. This is getting unusable. Any ...Show All

  • SQL Server Error authenticating proxy when attempting to run Job

    Hi, I am trying to get a maintenance plan on SERVER1 to backup to a UNC path on NAS1. NAS1 is managed by a 3rd party who gives us a username and password to connect to our directory on the NAS. I have created a matching username/pass on SERVER1 (WIN 2003 SP1). I can logon as that user and browse to the UNC path without being prompted for credentials. I can read, write, and delete files and directories. We'll call this user SERVER1\MyUser1 In SQL2005 I have done the following: Created a maintenance plan, BackupToNAS, that is supposed to backup all databases to the UNC path. Owner SERVER1\Administrator Created a SQL 2005 Credential, NASuser. Identity: SERVER1\MyUser1 Created a proxy, NasProxy Credential name: NASuser Operating System(Cm ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. EffectParameters

    Is there a performance advantage when setting an EffectParameter as spacewar did such as On create: worldParam = effect.Parameters[ "world" ]; then in render: worldParam.SetValue(World); versus the following in render without create effect.Parameters[ "world" ].SetValue(World); If your main game loop has lots of shader assignments, doing the lookup for each one can really add up. I have just recently ported my MDX project over to XNA and have noticed that by caching the effect parameters I will gain a bit of performance. ...Show All

  • Visual Basic How can I change the text colour in a message box?

    I have been told that this is not possible but i am sure it is. If anyone knows how to do it then I would really appreciate it. Thanks. Got it up and running and can set the colour that I want!! WOO HOO!!! Tahnk you very much have a great week and weekend. ...Show All

  • Visual Studio Tools for Office How to check WORD doc file that it is password protected?

    Hi In one of our office automation application we process doc files. If a doc file is PASSWORD protected, it waits for user input (password) while opened by a program ( objWordAppl.Documents.Open("C:\abc.doc"). In unattended environment, it hangs the program untill it is time-out, killed and restarted. Is there any way we can check if the doc file is PASSWORD protected before we try to open it and it hange Regards Rajeev Hi Rajeev This forum is for questions related to the VSTO technology; it doesn't handle general Office automation. Such questions should be directed to one of the group's listed in the " Please Read First " message at the top of this forum. I can tell you that the scen ...Show All

  • Visual C# launch default app (for file type) with arguments

    Hi all, I've been trying to get this to work, but haven't found a decent solution yet. What I need is to open a pdf file, in a maximized window, at a certain page. From the command line, it looks like this: <path to acrord32.exe> /A page=N "<path to pdf file>" However, I don't know the location of acrord32.exe on the client machine, so I use the pdf file as the parameter to run by Process.Start. The problem is that I cannot pass command line arguments anymore... Anyone has any idea on how to do this Thanks in advance, Cosmin. Process p = new Process (); ProcessStartInfo psi = new ProcessStartInfo (); psi.FileName = //... psi.Arguments = //... p.StartInfo = psi; ...Show All

  • Visual Basic accessing a project level variable accessible via any form or module..

    I want to retain the name of a file loaded in a Windows Main Form and then be able to access that same file project name within a user control which is part of the same project as the Main Form. As it is now, I am instantiating a file containing global vars and then instantiating the same file all over again.... with uninitialized vars. Can I instantiate a class above the scope of both Mainform and the User Control which is instantiated before MainForm is loaded, available to both MainForm and User Control, that will persist throughout the runtime instance of the executable If I create a class to be used for global vars, where do I instantiated it Is there a place at the application level I can do this Thank you. -Greg Right now I decl ...Show All

  • Windows Forms Statistics Plots???

    Hello I have to develope an application about statistics,I want to use ploting controls,right my question is what should be that COM,or ActiveX Control Thank You Hi, probably neither, if you are planning to use C# to write your application then there are plenty of native .Net controls, for example: http://www.dundas.com/Products/Chart/NET/index.aspx Mark. ...Show All

  • Visual Basic Writing into EventLog using a Windows service

    Hi all. I am developing an VB.Net application (Ver 1.1 in VS.Net 2003). The Objective is to Log the current System status( CPU usage) to the Event log. Send the same System status to a WebService and receive a integer value. I have created a Windows service which works fine if I write a static value or system time. But if I write a CPU usage value it does not write. Debugging did show that the line objEventLog.WriteEntry getting executed. But no use. It does not log in the EventLog. The code I am using for Timer_Elapsed is Private Sub Timer1_Elapsed( ByVal sender As System.Object, ByVal e As System.Timers.ElapsedEventArgs) Handles Timer1.Elapsed If ( Not EventLog.Exists("Kiosk Log")) Then EventL ...Show All

  • SQL Server update flat file before import SSIS?

    Hi, We have a csv file which contains a date field. The data in the field contains "0" as well as "dd/mm/yyyy". Is it possible to update all "0" to "01/01/1900" on import using SSIS. Basically when we import the flat file now it falls over due to the destination table data type being datetime. If this is not clear please let me know and i'll try and explain more Thanks for any help. Slash. Its ok Phil, Even though the flat file was in "yyyy-mm-dd" when i used the import util within SQL it changed to the way i wanted. Thanks for all your help. Cheers, Slash. ...Show All

©2008 Software Development Network