Edmund's Q&A profile
Visual C++ Binding Navagation Like buttons
I'm creating a program in Visual Studio 2005 Beta 2 (i dont have a subscription to msdn so i cant get thet CTP i'm just a student so the cost is a bit steep)using datasets and I want to allow the user to fill in text boxes and add fields without having to see the datagrids. In doing this I would like to add buttons to add (and save) a new item (row) to a dataset and also buttons to scroll through a data set (i tried this ->BindingContext->get_Item(JazzPep_MembersDataSet, "Pep Members")->Position = this ->BindingContext->get_Item(JazzPep_MembersDataSet, "Pep Members")->Position + 1; but i get the error m ...Show All
Visual C++ a vector of pointers in a for loop
I'm currently getting a illegal direction error when using the following code. The error is coming up when I set up the for loop Code: int saveBook(vector<Address*> a, ofstream& out) { //For loop that writes to the temporary file in the correct //format in order for it to be read in to the progam again //cout << (*a).size(); for(int i = 0; i < (*a).size(); i++) { out << "/" << a ->getFirstName() << "/" << a ->getLastName() << "/" << a ->getHouseNumber() << "/" << a ->getStreet( ...Show All
SQL Server No messages in the queues.
Hello, I'm trying to do a very simple example of sending a message from Initiator queue to Target queue. The result is no messages are delivered. Here's the code: DECLARE @conversationHandle UNIQUEIDENTIFIER BEGIN DIALOG CONVERSATION @conversationHandle FROM SERVICE GmiInitiatorService TO SERVICE 'GmiTargetService' ON CONTRACT GmiContract WITH ENCRYPTION = OFF ; SEND ON CONVERSATION @conversationHandle MESSAGE TYPE GmiMessage ( 'test' ); END CONVERSATION @conversationHandle All three queues are empty (Initiator, Transmission, Target). When I comment out the last line ...Show All
Software Development for Windows Vista Online Help Technologies in Vista
In my reading on Microsoft Windows Vista, I have seen a number of references and discussions about the new "User Assistance" functionality. What previous online Help technologies will Microsoft Windows Vista support Specifically, in addition to the new "User Assistance" format: 1. Will Microsoft Windows Vista include the WinHelp engine and run *.hlp/*.cnt files as was supported in previous versions of Microsoft Windows 2. Will Microsoft Windows Vista include the HTMLHelp engine and run (.chm files) as was supported in previous versions of Microsoft Windows I appreciate your time and consideration, Mark ...Show All
Visual Studio 2008 (Pre-release) TransportWithMessageCredential interop
I'd like to consume a WCF service from a VS 2003/.Net 1.1 c# client. So far, I have the following in my server config: < xml version ="1.0" > < configuration xmlns ="http://schemas.microsoft.com/.NetConfiguration/v2.0"> < system.serviceModel > < services > <!-- Before deployment, you should remove the returnFaults behavior configuration to avoid disclosing information in exception messages --> < service type ="MyService" behaviorConfiguration ="returnFaults"> < endpoint contract ="IMyService" binding ="basicHttpBinding" bindingConfiguration ="Binding1"/> ...Show All
SQL Server what i forgot
hideho mates, well could it be.... all SQL services r runnin, i created 2 sql logins with ALL rights!!!!! well now i want to use one of this accounts (which r domain admins too) too install VSTFS 2005 Beta 2...so far so good...but the first evetnlog entry after the begin of the install is always "sql server login failed - cannoct connect to the database"... the funny thing is > AFTER is event log entry ALL VSFTFS and ADAM Databases gonna get created.... how can they get built if i cannot login like the log says hmmm later..much later it says this user is missing ONE needed right... well...hmm..grrr... any tips how to congig a us ...Show All
Visual Studio Express Editions visual web developer 2005 publish?
Iam using visual web developer 2005 and I have created a new website with one page (default.aspx) with one word (hallow) and when I debug and run the website on my local machine it works successfully but when I publish it I got the following error massage: Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error m ...Show All
SQL Server Error on SQL cluster install
I am trying to install SQL 2005 in a 2-node Windows 2003 cluster. I set the cluster up through Virtual Server 2005 with 2 virtual nodes and one virtual domain. The nodes can connect to each other as well as the physical machine. When I try to install a fresh copy of SQL 2005 on my cluster, I get an error every time. The error stops the installation while checking system configuration after installing prerequisites. The log file entry is as follows: ******************************************* Setup Consistency Check Report for Machine: --SERVERNAME-- ************* ...Show All
.NET Development How to marshal array of structs within a struct?
Heya. I'm trying to use the IDSObjectPicker in .Net 2.0 but I'm not sure I have declared the structs correctly. Especially the part where a struct contains a variable array of other structs. For example, the DSOP_INIT_INFO ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/ad/ad/dsop_init_info.asp ) contains a variable array of DSOP_SCOPE_INIT_INFOs ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/ad/ad/dsop_scope_init_info.asp ): [ StructLayout ( LayoutKind .Sequential, CharSet = CharSet .Auto)] internal struct DSOP_INIT_INFO { public uint cbSize; [ MarshalAs ...Show All
Visual Basic Reading and Comparing REG_BINARY
I am currently programming a Tweak Tool, and am having some difficulty regarding registry entries in the REG_BINARY format. I know how to write this type of value to the registry, however what I am wanting to do, is read the exisiting value, and depending on the value that is set, change the index of a combobox. Thanks in advance. Hi sorry bout long reply time, I am still having the same troubles as before, I need to create the value 0e 00 10 01 as a REG_BINARY in the Windows Registry, however, when typing this into the RegistryValueKind enumeration, it says something about the letter not being a valid entry, ...Show All
.NET Development error: oledbexception nust declare the variable '@Eff_Date'
Here is the code in my Load event after declaring cn, da and cm cn.ConnectionString = "Provider=SQLOLEDB;Data Source=localhost;Initial Catalog=matrix;Integrated Security=SSPI;" cm = New OleDbCommand("select * from lk_Feat", cn) cm.Connection = cn da.SelectCommand = cm cm = New OleDbCommand("UPDATE Lk_Feat SET Eff_Date=@Eff_Date , Exp_Date = @Exp_Date ......etc. .., cn) cm.Parameters.Add("@Eff_Date",System.Data.OleDb.OleDbType.Date,8, ''Eff_Date'') cm.Parameters.Add("@Exp_Date",System.Data.OleDb.OleDbType.Date,8, ''Exp_Date'') ........and all other f ...Show All
SQL Server Will a SQL Server embedded be developed?
Replace Access Jet. by embedded, I meant a sql engine that runs in the client program's memory space. Jet is an example. Has nothing to do with embedded OS. MSDE is not an embedded sql engine as it runs in its own process. ...Show All
Windows Forms How to resize controls on my windows form with changing form size
Hi, In my windows form I have a tab control with a few tab pages. Each tab page has some user controls and some .net controls such as datagrid, labels e.t.c When I resize the windows forms the controls dont change their size and position. So if I reduce the size of window it hides half of the controls on my application. How do I make my application or controls such that they relocate and resize themselves when size of the window changes. Thanks, You have to DOCK them on your form to top, bottom, or center depending on ur requirement. ...Show All
Software Development for Windows Vista Setting a static ListView background image
I'm trying to get a static, non scrolling background image into a ListView in C# 2.0. I posted about it in the Windows Forms forum here: http://forums.microsoft.com/MSDN/showpost.aspx postid=163999&siteid=1 and was told to ask over here. If anyone has any ideas as to how I could do it, I would appreciate it. Kenny Spade wrote: I'm trying to get a static, non scrolling background image into a ListView in C# 2.0. I posted about it in the Windows Forms forum here: http://forums.microsoft.com/MSDN/showpost.aspx postid=163999&siteid=1 and was told to ask over here. If anyone has any ideas as ...Show All
Software Development for Windows Vista Index was outside the bounds of the array in Windows Work Flow
Hello: I am using OrderingStateMachine workflow application that came as a part of Windows SDK Samples and tried to use OrderLocalServices and OrderWorkflows as a part of ASP.NET application, which I am able to do successfully. Now, when I tried to change OrderWorkflows.Workflow1.cs by adding a new state or even a new event inside existing OrderOpenState (In short any change to the workflow), It gave me Index was outside the bounds of the array error as soon as I tried to refer to workflowRuntime through either of following statements: if ( WorkflowWebRequestContext .Current== null ) or workflowRuntime.StartRuntime(); I ...Show All
