Software Development Network Logo
  • Windows Forms
  • Visual Basic
  • Visual C#
  • Smart Device
  • Microsoft ISV
  • Visual J#
  • Game Technologies
  • Visual Studio
  • .NET Development
  • Windows Live
  • VS Express Editions
  • Windows Vista
  • Architecture
  • Visual C++
  • SQL Server

Software Development Network >> Dave Jefferson's Q&A profile

Dave Jefferson

Member List

PRIDE
kelley
VYV
KirkAtCenterstance
sdknewbie
g111
Danel
Uggy
Andrei Faber
FSOL
Alphi
matt01
Ages_04
JoeyBlow
TomG72
outsidelife
MuddyTigerFeet
amed
RajaGanapathy
winniecherian
Only Title

Dave Jefferson's Q&A profile

  • Visual C# VS 2005 C# to wrap in COM

    Hello Everyone, I wrote a C# dll in VS 2005 and to my surprise it didn't work on VS 2003 projects. The only solution I think maybe is to wrap in a COM wrapper....I was wondering what is the best way to do that...My COM skills are not that great.... Anyone help, really appreciated.... Thanks, Harsimrat As you have discovered, assemblies built for the 2.0 framework cannot be used by previous frameworks, the reverse is not true though... you can (for the most part) use assemblies built for 1.0/1.1 in 2.0 based apps. Is there no chance of your building your app under 2003 instead of 2005 You d ...Show All

  • Visual Studio 2008 (Pre-release) Create instance of message class for (RPC) service

    Hello, here comes a question that probably has an obvious answer I havent seen: In some scenarios I am finding myself wanting to create a message to be sent to a service defined at the "RPC layer", ie the standard example of using a ServiceContract with normal CLR types. The normal way to talk to such a service is using a proxy on the client side. If you have a service using messages you create them on the client side. Here I want to use messages on the client side only, for example. How do I create a message when targeting a "non-message" defined service, say the calculator example I've been messing around with Message.C ...Show All

  • Visual Studio Team System Manual test in Excel template?

    Would it be possible to have an Excel template instead of a Word template If so, what would to be edited to make this possible Our current plan for VS 2005 does not support manual test as Excel documents. We will definitely consider this in our next version of VS. For now, you could either implement your own manual test type by using our extensiblity framework (which would be expensive though), or try the following workaround. 1. Create your own manual test types in Excel 2. Create dummy manual tests in Word which have links to the real manual tests in Excel format 3. When you run the dummy manual tests, you can easily navigate ...Show All

  • .NET Development Application won't start without Visual Studio

    In our project we made a small application which uses dll-files. The problem is that the application won't work in a computer that has not Windows Visual Studio .NET environment installed. The latest version of .NET Framework has been installed on our environments and on the target computer we are testing with. When starting up the application nothing happens, not one error message. Also, applications made in the same environment without any dll-files work fine in the target computer. Dll-files are located in the same directory that the executable file but the application doesn't seem to find them anyway. Any idea how to make our applica ...Show All

  • Visual Basic Making a picturebox have a transparent background

    I have a picture of a panda with a pink background (panda_down.bmp) and I was wondering: how do I get that pink background to be transparent Draw the image yourself in a paint handler, and use the imageattributes class to make 255/0/255 ( magenta ) transparent. ...Show All

  • Visual Studio Express Editions Can I have all the express versions on one PC with VB.NET 2003

    Can I have all the express versions on one PC with VB.NET 2003 Thank you so much this is my first time in the forums ! I want to do this right...I had vb.net, sql server previously running on my pc. I stumbled on the express editions and thought cool. I installed vb, vwd, and sql no problems. Everything worked great. I was running the club template with ease. Why did I do what I did, we will never now. I uninstalled all the major players (vb.net, sql server, msdn, anything to do with them) in an attempt to get a fresh install of all the express editions. Well they never worked again. A reboot and a reinstall of windows is where I am ...Show All

  • .NET Development Enterprise Library DAAB

    Hi all... I would be extremely grateful for some help. I get the feeling I'm missing something simple, but I can't see it myself. I'm attempting to use the Enterprise Library to access a stored procedure in a SQL Server database. I need to retrieve both table data AND an output parameter. The table data is retrieved fine, but for some reason I am unable to retrieve any value save DBNull from the output parameter. Code snippet is as follows. I'm attempting to access the @TotalRecords parameter: public ArrayList getFileTypeList( int pageIndex, int pageSize) {    ArrayList fieldTypes = new ArrayList(); &n ...Show All

  • SQL Server SSMSE CTP Uninstall and Visual Studio 2005

    In the Microsoft SQL Server Management Studio Express Readme there is the following cautionary note: When you uninstall a pre-release version of SSMSE on a computer that has Visual Studio 2005 installed, you must repair the Windows Registry before you can use the Visual Studio Dataset Designer. For more information, see Knowledge Base article 917635. When I click on the article link, the page displays: The Knowledge Base (KB) Article you requested is currently not available. Is there any further information on this Cautionary note I was just informed that the article has not yet been finalized. ...Show All

  • Visual C++ Using UNICODE

    HI Everyone, I'm new to C and I'm trying to use the UNICODE function so I can send UNICODE data to a device attached to COM4 instead of ASCII. I've defined UNICODE and_UNICODE and included tchar.h and I've also set the entry point as wWinMainCRTStartup. When I compile my code I get the error; Looks like your subsystem is set incorrectly. Are you trying to do a console app or a windows app If you meant to do a console app, change your subsystem to /subsystem:console. Alde wrote: HI Everyone, I'm new to C and I'm trying to use the UNICODE function so I can send UNICODE data to a device attached to COM4 instead of ...Show All

  • Windows Forms How to use MeasureCharacterRanges?

    Hi Gurus, I’m trying to print one character at a time on the screen (something like a teletype). Using MeasureString is not working properly since it has some extra spaces around the character! I know I have to use MeasureCharacterRanges, but I don’t know how to put them together. Your help would be appreciated. Here is what I have using MeasureString. Private& ...Show All

  • Visual C# Writing entries to eventlog from asp.net!

    Hi, I'm having trouble writing entries into the event log from asp.net (C#). Its giving me a security exception. How can I make this possible through code itself, i.e without manually changing any setting in iis or something like that. Thanks & Regards, Frenz You are probably having a problem registering the event source. This cannot be done by IIS applications because they do not have the registry permissions (by default, at least). The most common solution to this that I've found is to manually create the event source on the web server with another program, and then use that same event source in ...Show All

  • SQL Server Using SSMS to Manage SSIS

    (Also posted on the beta newsgroups...) I'm having problems using SSMS on a workstation to manage SSIS on a server.  I cannot connect to SSIS on the server.  The SSIS service and the RPC service are both running on the server, but I get an "RPC server is unavailable" error message. I have CTP 15 running on the workstation but CTP 14 running on the server.  Probably not a great idea, I know.  Anyone know if that is definitely the problem   Or could it be something else Thanks, Dave Fackler I just blogged about this: http://sqljunkies.com/WebLog/knight_reign/archive/2005/06/09/1 ...Show All

  • SQL Server What is the equivalent of 'SELECT * INTO' in SSIS?

    I have 100+ tables that are imported from several OLE DB sources. In my current solution I am using 'SELECT * INTO' so I can grab everything without having to manually define a schema. I'm trying to build a SSIS package that will perform the same task but running into two problems. Any ideas 1. I tried putting 'SELECT * INTO' in an Execute SQL Task, however I can't figure out how to connect my source connection with my destination connection. How to do this, or is there a better way 2. What is the best way to dynamically set the destination table TIA, Matthew I have not had an issue running the Trans ...Show All

  • SQL Server Programmatically set position of report items

    Hi All.  I have a report with various items (lines, textboxes) that may or may not be visible, depending upon the values of other report items.  In one list, there is a horizontal line of textboxes and lines.  If a line in the middle of it all is set to hidden=true, then all the controls to the right of it are shifted to the left.  If it is set to hidden=false then they are shifted back to the right.  Is there a way to fix the position of controls (something like ReportItems!txtTextbox.left=0.444 etc.)   According to BOL, the only property in the ReportItems collection is Value.  Any help is appreciated. ...Show All

  • Smart Device Development encryption on WM 5

    Hi all, I'm developing application that Send/Receive data to/from the server. I need to encrypt this data via AES encryption. my questions: 1. do WM5 CF2 app supports this kind of encryption 2. I didn’t deal with encryption in the past, where should I begin any ides, links, thoughts will be great J Oren. Yes CF2 supports AES. You may use System.Security.Cryptography.RijndaelManaged class to deal with AES encryption/decryption. See this examples. http://www.c-sharpcorner.com/Code/2004/July/CryptographyInDotNET.asp http://www.osix.net/modules/article/ id=411 Examples are target ...Show All

©2008 Software Development Network