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

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

maitreg

Member List

hypershot
DirkW
GreyGallon
Carl Bruneau
ShrinanD Vyas
Daticus
John Vonesh
darthghandi
UKJay
Notre
Robbyec
Coleman Brumley
golferdrums
Brian Altmann
Adams
Mister3957
mf32000_9
De los Palotes Juan
colecovizion
Henrique Ribeiro
Only Title

maitreg's Q&A profile

  • Visual C# event declaration

    Hi. I'm experienced in VB but new in C#. What's the ecquievelant of the following in C# Public Event MyEvent(arg1 as string , arg2 as int) Public Sub RaiseMyEvent()     RaiseEvent MyEvent("bla bla",15) End Sub   It sounds like you want to race the event outside of the class you've declared it. This is not possible. You can only add or remove events (+=/-=) from the outside (public domain). The event can only be raised from within the class where you've declared the event (private domain). ...Show All

  • .NET Development Using Bluetooth with VS 2005 beta 2

    I was watching the " Creating a Managed Bluetooth Application Using Microsoft Visual Studio 2005 " MSDN video, and there was an example of using new bluetooth classes for connecting to a PocketPC via bluetooth. I have the VS 2005 and i didn't fount these classes.  Classes like "ServerHandle" or "Core" and others dosn't exist. I want to use bluetooth to  make my laptop as a Headset for my phone. I need to register a bluetooth Headset service. (sorry for my bad english^^^) Link to the video: http://go.microsoft.com/ linkid=3104973& rate=2 After finding the download and installing it, ...Show All

  • Software Development for Windows Vista Creating custom activity with its own picture

    Hello All, Could anybody point out to some example (for BETA 2) how to create custom activity with it's own picture that would be visible in Workflow designer when such activity is droped there Thanks in advance. DariusK. You can create your own designer for the activity and override the image property. [ Designer ( typeof ( mydesigner ))] public partial class Activity1 : SequenceActivity { public Activity1() { InitializeComponent(); } } public class mydesigner : SequenceDesigner { public override Image Image { get { return - Your image } protected set ...Show All

  • Visual Studio Tools for Office importing data from an excel file

    hi,  i'm developing an app wich needs to read some xls files , i  found the docs, on how to open the file, and read from it, using oledb , but i was wondering if this was the only way to do this, also does vsto only reads excel 2003 files or can it read xls files from older versions of excel thanks! it's an app destined to run on Win98, excel is installed on the target machines but since i've never worked on anything related to excel programming (or office for that matter), i'm having a bit of problems finding the right documentation, i was just reading an article on early and  late binding ...Show All

  • Windows Forms mageUI.exe fails to sign manifest after adding files - HELP!!!

    I am using VS.NET 2005 beta 2 ClickOnce deployment and need to add some data files to my manifest.  So far, I have been unsuccessful in using mageUI.exe to add the files due to a signing error.  This signing error stands in the way of a production point-of-sale deployment scheduled for next week .  We would greatly appreciate any help you might give us.  Here's the steps I took and the errors/warnings that I saw along the way: 1.  Published the app successfully to another server, but got the following warning: Warning 3 SignTool reported an error 'Failed to sign publish\Isola ...Show All

  • Visual C# How can you make your software expire after certain Days ??

    Hello All, I have an application which I want to expire after the trial period and only works after you eneter the key. Any suggestions, piece of code which I can use to secure my application. Thanks, Harsimrat Well, you need to store the date the software was installed, that date needs to stay if someone does an uninstall, and then you may want to write some code that detects if users have been playing with the system date. As for entering a key, you have all sorts of options there. Do you want a key tied to a machine Do you want to generate a response key ...Show All

  • Visual Studio 2 Patterns for single Crystal Report (rpt) file

    Hi everybody, Is it possible to display two different pattern of reports and must be on separate pages First Page displays a summary, second page displays details and other info. Having problem doing this placing except for company details on page header and the rest on the Details part of the report. Pattern: First Page: Company Logo Company Name Company Address Statement of Account Statement Date: (system date) Period Covered: (date from filter page) Control Number (data from db1) Company: (company name from db2) Address: (address from db2) Total Balance ( ...Show All

  • Visual Studio Team System VsipHelper.GetTfsServer()

    The VsipHelper class was public in Beta 3, now it is internal. Code I wrote depended upon this type to get the currently-active server in the IDE via the GetTfsServer method. What is the best way to handle this in the RC your registry entry and dll list looks good. let's see if you can reference any of our object model. try this in your addin (shouldn't require any assembly references or namespace using clauses): Object scc = _applicationObject.DTE.GetObject("Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlExt"); Object wit = _applicationObject.DTE.GetObject("Micro ...Show All

  • Visual Studio Team System Web Service test in Web test.

    Hi,      I have created a web service Test using web test. Reference is msdn                      How to: Create a Web Service Test  Steps Taken:       1. I added the AddRequest w/Payload. In the url i added my webservice.(ie., http://192.168.0.153/_vti_bin/Publisher.asmx )     2. Add header.           Name= SOAPAction           Value= http://tempuri.org/AliasID2URL     3. String ...Show All

  • Smart Device Development Form reference in VS2005, pls help

    Hi all, How can I create a form reference in VS2005 In VB6 (see below), I can use keyword "Me" to pass the form as long as I have txtText1 in any form I can call function XXX to display the text into txtText1 box. How to make it work in VS6 Function Form_ load 'Ex. from1 call XXX(Me) End function Function XXX(f as form) ' Function in mod1 f!txtText1.text = "New text here" fucntion end You still can. Just make sure that txtText1 is a public member. Function XXX(f as Form) f.txtText1.Text = "New text here" Function End ...Show All

  • Visual C++ c++/cli array in value struct

    I need to use a "value struct" for an application I've written but I now need to add a character array and a byte array into this structure. I don't know how to do this because I can't set the size of the array. I'm not able to use the ref struct because there is too much code already in place using the data as a value type. Please help! Dear GrkEngineer You may not be looking for answers anymore so I will make this short so I don't waste too much time. I had a similar problem and found no solutions on the net. I eventually came up with this answer. (I am assuming you are marshalling ...Show All

  • Visual Studio Express Editions Serial communications outputting and receiving one byte of data.....

    Okay, I am on deadline here.... 3 days... and for the last 2 weeks I have been trying to find the answer. Apparently there is no easy way to use a serial ports in VB2005 express... Most of the code I have found is for the .net version. It really doesn't port well. I have gone through and for the most part changed what needed to be changed. No Luck.... With the code written below that was copied and I duplicated the form to match the text, combo boxes and everything else it just doesn't want to work correctly. I am trying to write one byte of data to a processor and a few milliseconds later receive the response. the outgoing is the addres ...Show All

  • Visual Studio Team System TF.exe get annoyance WRT missing files

    If you try to edit a .targets file in VS 2005 while it has it loaded via a project file, VS 2005 gets very unhappy and deletes the .targets file(s).  So I unload the solution and go to the command prompt to get these back.  I figured a simple "tf get" in the dir the files are located in would repopulate the missing files.  It didn't.  So I am a little confused.  I gather from this that the notion of what is in my workspace is stored on the TF Server.  The fact VS deleted the files (or if I delete them via Windows Explorer) doesn't seem to register with the workspace.  It still seems to think I have a partic ...Show All

  • SQL Server Ready for Production?

    I must release a new Db on 4/1 into an isolated small network (pier workgroup) and my choices are MSDE or Express. I'm new to both (MSDE yesterday, Express today). I am familiar with SQL Server and prefer using the tools with Express, but i s it stable enough to use in this type of production environment I hope so. I also am going live with SQL Express 05 around April or May and it will be ran on 1-15 computer systems at a time. Also, just to make it fun... we are still running a VB6 front end so we are using ADO 2.8. I think it is ready. One way to find out. I'll post here if i come across somethin ...Show All

  • Visual Studio Express Editions wallpaper changer

    hi geeks, i m a vb.net developer , and i m trying to make a wallpaper changer, i know that i have to do that by calling function from user32.dll, but as i am not great in dll coding,i need some help, if somebody can tell me how to get a good start in dll coding, some tutorials or site,it would be great, ashish Hi, look here: http://msdn.microsoft.com/coding4fun/inthebox/wallpaper/default.aspx ...Show All

©2008 Software Development Network