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

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

AlexBB

Member List

Andre's
B.Stark
Charles Tam
J. Clark
Pavel Burianek
Ezhil.uk
JocularJoe
Alexey Raga
Sean ORegan
sleepy01011
Alex Merchant
Brett H.
PudBawl
http200
Han Qiao
yaron-ct
ChrisVienna
rgerrit
akin_l
Chris.Stewart
Only Title

AlexBB's Q&A profile

  • Smart Device Development Desktop Application for Mobile Device

    Hi, I have a quick question for somebody. I have a mobile device and I want to run a simple desktop application that has a form and a button and when the button is clicked another application opens. It can't be a web application. Is this possible Thanks in advance I believe your question has already been answered in another smart device forum: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=970322&SiteID=1 I'm surprised no one has yelled at you for crossposting yet. ...Show All

  • Windows Forms Framework and Windows Installer not present

    I am deploying a project on a large number of user machines. On a W2K machine, when I tested the MSI, it of course, did not have the Framework or the correct version of Windows Installer. But I did get the expected error messages. So I am going to issue install instructions that state the order of install is to first install these two items, and then install the application. Do any of you do anything different Lacking resplies from anyone else, maybe I'm asking the wrong question. Sometimes there are bugs that everyone knows about, except me. Perhaps the right question is... Does this feature work for anyone at all If I don't hear from any more people, that this works for ...Show All

  • Software Development for Windows Vista Looking for PPT sample code on netfx3.com

    Hi, is there any chance to get the sample code for this presentation http://wf.netfx3.com/files/folders/teched_2006_chalk_talks/default.aspx Although this presentation has the TechEd 2006 logo, it is not part of the TechEd dvds. Thanks, Raffaele Hi Anna, I'm talking about "Rehosting of the Windows Workflow Foundation Designer". In the beta 1 there was an example of a custom designer but there were serious problems in handling rules. So I'm looking for a complete custom designer hosting example. I hope you can provide it. Thanks, Raffaele ...Show All

  • Software Development for Windows Vista overload methods in WF

    Hi all, i would like to know how can methods(activity) be overloaded in WF. For example i have a if-else activity, a sendMail() method. If the ToName is XXX then doSomthing() and then sendMail(XXX), else if ToName is YYY then doSomthing() and then sendMail(YYY). How can the parameter be handed over Should i use a queue for the parameter (or Dependence Property) But how can i choose at runtime the right parameter Thanks Emy_P, Just so I can understand what you have here, let me take a shot at describing what you have based on your description... You have created a custom If/Else activity: Is this derived from CompositeActivity or is this a SequentialActivity and you've dropped a base class If/Else ...Show All

  • Visual FoxPro Valid event

    Hi, I need to put a validation to a textbox field. I put some code in valid event. But when users enters a wrong value appears a message generated by visual fox pro: "entrada no valida"; How can I disabled this system message and use a messagebox to display my own messages . When user enters a wrong value, I write that valid event return false. Thanks, Use lostfocus instead of valid. ie: *lostfocus if this.Value > 10 && sample - assuming as an ivalid value nodefault this.SetFocus() * messagebox("blah blah") set message to "blah blah" endif ...Show All

  • Visual FoxPro Out of control when printing out the report designer

    Hi I put the PO No.: || df_indent___ || on the report designer. In 'Print When' properties, I click on the 'Remove line if blank' checkbox and write the following cod e as below. (.not. empty(df_indent) and (_pageno>1)) or (.not. empty(df_indent) and (_pageno=1)) Example of the output result when printing. On 1st page of the report designer PO No.: Testing ABC On 2nd page of the report designer Testing ABC I want to make the PO No.: appear on the 2nd page too. Is there anything mistake on my code Sometimes, there is no input on the form that is linked to the report designer when printing out. For e.g, I do not type out the 'Testing ABC' beside PO N ...Show All

  • Visual Studio Express Editions Saving File to Hard Disk

    What are the steps necesary to save a file to a hard disk And how can I put the contents of something into a file Like an ArrayList, formated as I want etc. good examples/guidance Mark. here's an example: using (StreamWriter theWriter = new StreamWriter("file.txt")) { foreach(object currentItem in theArray ) { theWriter.WriteLine(currentItem.ToString()); } } this should go through each item in the array and write it to the file. in regards to xml serialization: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=762685&SiteID=1 ...Show All

  • Software Development for Windows Vista Is this doable? How? Thanks

    Let's say we're in a workflow that we designed in VS2005 and half way through the workflow we have a group of activities that we want to execute in parallel. At design time, we don't know how many parallel runs we'll have nor do we know the actual parameter values that will be passed into each parallel run. So, we have an activity that return an array of parameters and we want to run the next few activities as a group. We want to run them in parallel and each of them need to use one of the parameters in the array. Does this make any sense and what would be a best practice Also, is it possible to run these activities on multiple hosts to lessen the processing burden Thanks CostasZ Jon, tha ...Show All

  • SQL Server Optins of trailing Database change in sql server

    Hi All, I am in need of some option using which i can trail the changes made to my database. Specially i want to track all the DDL and DMl changes. I know about the external tools provided by lumigent and some other companies to do this but i was just wondering if we have some option within sql server. I don't need extensive report as provided by lumigent. Just getting somethin on DDL and DML will help.  Even help on some work arounds to do same will be appreciated. TIA Prashant   If you don’t want to read from the log, you will have to implement something on your own, like putting triggers on every object for tracing DML and DDL. The best thing to keep track of all changes made to the data ...Show All

  • Visual C# Outlook add-In -> how to get Sender SMTP Address

    Hi, I'm trying to make an add-in for outlook and I need to grab the Sender Address; I'm using Microsoft.Office.Interop.Outlook.MailItem which has a SenderEmailAddress Property but when it comes from Exchange, it gives somethign like that: /O=ANALYSTIK/OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=EPLANTE I have a book that talk about CDO using reflexivity but the example tells how to grab the subject but I don't need CDO for that! The MailItem object has it. On the net I found an example in VBNet that uses this method: Public Const CdoPR_EMAIL = &H39FE001E string o = (String)objSession.GetAddressEntry(strAddressEntryID).Fields(CdoPR_EMAIL).Value But GetAddressEntry doesn't give a result that has Fields. ...Show All

  • .NET Development System.Transactions issue

    I have been trying to run the following piece of code : using ( TransactionScope txRequest = new TransactionScope ( TransactionScopeOption .Required)) { using ( SqlConnection conn1 = new SqlConnection ( "Data Source=XXXX;Initial Catalog=ULTIPRO_USG;uid=dev;pwd=pass;" )) { conn1.Open(); } using ( SqlConnection conn2 = new SqlConnection ( "Data Source=XXXX;Initial Catalog=ULTIPRO_USG;uid=dev;pwd=pass;" )) { conn2.Open(); } } The SQL server 2005 is in a different machine. Due to the fact that there is a second connection inside the transactionscope DTC is necessary and is enabled for Network Access on both machines. Whenever we run this piece of code we are ab ...Show All

  • Smart Device Development USB Port

    Please suggest me how can I write applications for USB and Irda drivers. How can I open the USB/Irda ports, and read/write to/from the ports. Hi, I am not absolutely sure, but I suppose that if you keep open all time USB/irda/wifi/bluetooth connections, it would lead you to batery power disaster. Nonetheless, do not mix usb interface with bluetooth or wifi, for example. They are different types of interfaces that use different adapters for communication. Only general thing is that all radiomodems can be accessed through COM ports. According to ActiveSync, in RAPI has enum RAPI_CONNECTIONTYPE defined like this: typedef enum { RAPI_CONNECTION_USB = 0 RAPI_CONNECTION_IR ...Show All

  • Smart Device Development Problem creating NDISUIO handle

    Hi I am having a problem creating a handler for pocket pc. Below is a snippet of the code i am using. It works perfectly in WinXP but not in Windows Mobile5.0(Dell Axim X51V) I had changed the pinvoke to use coredll.dll for pocket pc. private const string NDIS_FILE_NAME = @"\\.\\Ndisuio"; DriverHandle = CreateFile(NDIS_FILE_NAME, GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, INVALID_HANDLE_VALUE); DriverHandle returned is -1 which is  INVALID_HANDLE_VALUE. After the create file i got error code 161 which is "ERROR_BAD_PATHNAME - The specified path is invalid." Is my path to Ndisuio incorrect Or anyone know what is wrong Thanks in advance. I tried us ...Show All

  • Windows Forms DataTable Acts As Intermediator For DataGridView

    I have one DataGridViewand i have defined the columns for this datagridview but i don't specify the DataSource for this DataGridView. As a result, it is just a merely DataGridView with columns.   After that, i insert a data by using DataGridView1.Items(0,0).Value="data" and however one of the columns is check box column, if the user tick on it, another row will be created.   I tried to put this DataGridView1.AllowUserToAddRow=False after the code of inserting the data then the data cannot be added. No matter how i dont want new row to be generated so i think of using DataTable acts an intermediate table and set it as DataGridView1.DataSource. My problem is i have no idea how to specify value for a row of a column ...Show All

  • Visual C# override and out keyword

    hello, I am learning c# and I am not sure if this is possible. If any one can help thanks :). I have a base class called vehicle and two derived classes car and lorry. in the vehicle class I would like to have a showDetails() method that returns 3 varribels using the out keyword. then in the derived classes i would like to override this method doing the same thing as the base class plus out putting an additonal two varibles in the case of the car class, and 3 in the case of the lorry class. so in the vehicle class I have: public virtual void ShowDetails(out string engineType,     out string engineSize,     out string registrationNumber) {  engineType = base.GetEngineType() ...Show All

©2008 Software Development Network