Ermac's Q&A profile
Software Development for Windows Vista State Workflow - How can I do that?
Hi, I have a question regarding State Machine Workflow implementation. My situation is like this: I have several states like IssueCreated, IssueAssigned etc and let's say that IssueCreated state has two EvenDriven activities. The first is ussual listening to an external event and setting to IssueAssigned status and the second is a Delay for an hour and sending an email after. IssueAssigned is listening to another external event - IssueOpen. When IssueCreated recieves an external event it sets the workflow to IssueAssigned state and delay is started. I need the next thing - if IssueAssigned state recieves its external event IssueOpen it should move the workflow to the next state (that's ok) and should cancel delaying and sending an ...Show All
Visual Studio Express Editions Help displaying search results in a label
Can someone please help me with my code. I believe it is working properly but i don't know how to display my search results in label. Please take a look at what i have so far any help would be grately appreciated. I am using VB 2005 express for the front which is connect to an Access DB for the back end. Private Sub CheckInReportSearchButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckInReportSearchButton.Click Dim ds As New WrightBrothersFinalDataSet Dim ta As New WrightBrothersFinalDataSetTableAdapters.CheckInReportQueryTableAdapter Dim vdate As Date vdate = Me.CheckInDateTimePicker1.Text ta.FillBy(ds.CheckInReportQuery, vdate) Me.CheckInReportQueryBindingSource.DataSource ...Show All
.NET Development process.StartInfo.Arguments
I am trying ot run this programm from a windows form application but at command line it stops with message: "Reading passphrase from file descriptor 0 ..." and nothing happens. Same program run fine on command line with follwoing line: C:\Program Files\GNU\GnuPG>gpg --passphrase-fd 0 < c:\gnupg\passphrase.txt -o c:\HIF\Clock.swf -d c:\gnupg\Clock.gpg This is a command to decrypt the file using GnuPG encryption and decryption program. Any help is most welcome. Thank you. Bharat Gadhia. ================================= public void Decrypt() { string strArg = @" --passphrase-fd 0 < c:\gnupg\passphrase.txt -o c:\HIF\Clock.swf -d c:\gnupg\\Clock.gpg"; process.Start ...Show All
Visual Studio 2008 (Pre-release) Reloading DLinq created objects
Hi! I am using MS SQL 2005 Express db. With SqlMetal I generated appropriate database table classes. I will try to be abstract: I have an A and B objects, where A has a reference to B object. DLinq generates two properties: 1) reference to B object 2) reference to B object identifier (B_ID) which in my case is value type The problem is that if I create A object and I assign valid B_ID property and submit changes to DB, I can not get the B reference (object). If I restart everything, I see my added B_ID value and then I can get the B object through B property. Any clues Thanks, Edijs ...Show All
Windows Forms Where Is Select Event of ToolStripMenuItem
In .NET 1 I use MenuItem.Select Event to show menuitem description on the status bar as described in this article: http://msdn2.microsoft.com/en-us/library/system.windows.forms.menuitem.select.aspx Private Sub MenuSelected( ByVal sender As Object , ByVal e As System.EventArgs) _ Handles menuOpen.Select, menuExit.Select, menuSave.Select If sender Is menuOpen Then StatusBar1.Panels(0).Text = "Opens a file to edit" Else If sender Is menuSave Then StatusBar1.Panels(0).Text = "Saves the current file" Else If sender Is menuExit Then StatusBar1.Panels(0).Text = "Exits the application" Else StatusBar1.Panels(0).Text = "Ready" End If End ...Show All
Visual C++ Problem adding a Tab Control.
Hello! The issue i am facing is: I have to add a Tab control to my application. To do this i did the following 1. I added a tab control to my main dialog. 2. Added a control variable for my Tab Control. 3. Created 4 dialog boxes with no title bar and with pop up property set. Now, for adding the dialogs to the tab control i used this code : ******************************************************** /**following are the four dialog classes to be added.*/ CSystemDlg *SysDlg; CPortDlg *PortDlg; CCounterdlg *CounterDlg; CGaugeDlg *GaugeDlg; /**m_TabCtrl is the control variable for my Tab Control*/ SysDlg->Create(IDD_SYS_DIALOG, m_TabCtrl.GetWindow(IDD_SYS_DIALOG)); PortDlg->Create(IDD_PORT_DIALOG, m_TabCtrl. ...Show All
Software Development for Windows Vista Wrong download for Visual Studio 2005 Extensions?
If I download the Visual Studio 2005 Extensions for Windows Workflow Foundation and double click the exe file the installer for ActiveSync 4.2 is running. ...Show All
Visual Basic IP Camera HowTo?
Hello everyone, I've just installed an IP Camera in our network and started to fool around with it. The software supplied by the camera itself is written in Delphi and pretty much doesn't do much. I was wondering if there was a way to connect to this Camera from the network with VB I googled around and didn't find much on connecting to this camera (or any ipcamera that I could understand). All I know is that the camera runs a sort of webserver on port 8888 that when I connect to asks for a username and password, afterwards it forwards me to a page where I can watch a stream of jpeg images (mjpeg) I think. If anyone can help me or point me in the right direction on how I can connect to this device (or similar device) and show the i ...Show All
Visual C# COM object interfereing with a CheckBoxList?
I apologize if this is the wrong area, but I couldn't find anything else that fits the subject quite right... I've got a com object ( IE ) running and grabbing information, however when I try to populate a CheckboxList control, it simply refuses to fill the control with any data. Is there some weird interaction between the two I am unaware of So basically, an event fires,and then data is processed, here's a quick snippet... CheckBoxList checkBox; checkBox = new CheckBoxList(); // Get the data, and now... foreach(string dataItem in myData) { checkBox.Items.Add(dataItem); } After this is through I would expect my CheckBoxList to be populated, but it remains blank. Any ideas on why this might happen Thanks! ...Show All
Visual C# lack of the get accestor problem
I have a abstact class Camera, Interface ICamera, LSM is inheritance with Camera, ICamera. LSM is pointed to CameraSettings. And private void button1_Click event is called when running this program. I would like to fix "lack of the get accestor" problem when I run this. I just want write only property for the camera. namespace Hardware { public class CameraSettings { public int iCameraGain; // Camera Gain public CameraSettings( int iGain ) {iCameraGain = iGain;} public int CameraGain { get { return iCameraGain;} set { iCameraGain = value ; } } namespace Hardware { //Abstract class for a cameras public abstract class Camera { ...Show All
Visual Basic how to implement the "Add new" button
hi all, I am using the DataBinding to bind a couple of controls on my form to an Access db. i managed to do an update on the modified rows. I just cant program the button that is behind the "add new" button. I am using VS2005 Pro. please download the solution from here and make sure u change the path of the DB to wherever u put it . http://www.wegraphics.com/dotNet/addnew.rar this is the code in case u dont have the IDE ... thanks alot for any help. Public Class Form1 Public WithEvents dt As New DataTable Public WithEvents da As New OleDb.OleDbDataAdapter Public WithEvents conn As New OleDb.OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Se ...Show All
SQL Server index question???
I do have a dump table "table1" Table1: UniqueId varchar(4) scandate datetime courseno varchar(5). This table is not related to any other tables in the database. This is used to track the student attendance for a particular course. There can 60000 distinct uniqueid's in the table and 300 disticnt courses. I query this table most of the time on uniqueid and coursecrn combination. This table can grow up to 5 million records. can anybody tell on what fields do I have to create indexes and also of what type(clustered or non-clustered). This table doesnt have a primary key. Thanks Sandeep: What we need to do is run a query to verify whether or not the primary key can b ...Show All
Visual Studio 2008 (Pre-release) Combining Multiple 3D Meshes into One Giant Mesh
If I have ‘n’ number of 3D objects positioned in space, is it possible for us to combine all these objects into one larger object (while maintaining their position in space) Scenario: - 20 cube meshes - Each with the same material - Each positioned in different locations in 3D space I am unfamiliar with WPF’s backend but does it have 20 meshes it draws then fill in with 20 materials 20 unique "actions" What I’m trying to achieve is to programmatically combine all the meshes into one giant mesh then draw with one material. 1 unique "action" hence (possibly) improving performance. Any suggestions Heck, will this even result in a performance gain Thanks. ...Show All
Visual Studio Team System Problem file name and line number not setted
Hello, I am facing a curious problem and I am unable to put key words on it. I coded some CustomRules and thanks to this forum loaded them into Vs Team developper. The problem is that when I run code analysis some of my rules raise warning and error but the file name and line number is not set, so I am not able to click the message in VS ErrorList to open the right file to the right line number. I looked at reflector to compare my rule implementation and those of FxCop. We both inherit from BaseIntrospectionRule We both use the same constructor for problem (using Resolution type) Resolution __r = GetNamedResolution( ConstantHelper .UNDERPREFIX, new string [] { __f.DeclaringType.Name.Name, __currentFieldName }); ba ...Show All
Commerce Server Commerce Server Web site as a Visual Studio file system Web site
Hi, I was reading the MSDN documentation on creation of a Commerce Server Web site and it states that a Commerce Server site must be created as an IIS web site and not a file system site in VS 2005. Link to the same : http://msdn2.microsoft.com/en-us/library/aa545520.aspx Can someone explain why a Commerce Server Web site cannot be created as a Visual Studio file system Web site Regards. Husain Jagmag Hello Husain, I Think that you have to use IIS web site and not a file system site VS2005. First because every time you access to a file system site, you access it through a randomized port number, and Commerce Server needs a fixed port number. Second because the Commerce Server packager (Program that generat ...Show All
