Jools's Q&A profile
Windows Forms Accessing STL Strings
Hi folks, I setup a basic Windows Forms application and wanted to try using the std::string namespace. However, when I went to build the project, the Studio complained that the it was an unknown namespace. Should a .NET app be using some other class or am I doing something wrong here You could use the STL string class but since you're building a WinForms application you probably don't really need it. Just use the String class of the .NET framework (in System namespace). ...Show All
Visual Studio 2008 (Pre-release) Two-way data binding with ColorPicker Demo
Hi, To gt my head around two way data binding on custom controls I've been trying to bind the Color property of tow of the samle ColorPickers. I'm probably just overlooking something completly obvious but I can't for the life of me see what it is. T add to the confusion the individual bytes Red, Green and Ble bind with no trouble. Any help shaking the cobwebs from my head would be greatly appreciated. You can find the demo here: ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.WinFX4VS.1033/wpf_conceptual/html/ecb97ed4-e659-48a4-a1e0-893309569f2f.htm Thanks, Andrew This is actually a bug in the ...Show All
.NET Development Run an Access query from C# using ADO.NET
Hi I have Access database queries (in SQL), how to run them from C# using ADO.NET What's the code like thanks yuelin u can try this link http://www.intellectualbrains.com/DiscView.aspx mid=170&forum_id=4 & ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectDraw and Transparent Dialog boxes, flickering
I am using XP, VC++.NET 2003, and VideoLAN (activex) for streaming video. VideoLAN uses DD2 for most of the drawing, and seems to cause issues with a transparent dialog box sitting over it. It will flicker as VideoLAN (DD2) invalidates the region sitting on-top (the transparent dialog). Is this a problem becuase they use DD2 and not D3D9 Would converting their code to D3D9 stop the flickering I basically want to have an overlay plane that can alpha-blend fade-in and fade-out on-top of VideoLAN. All works perfect, except for this flickering. If I tell VideoLAN to clip itself, it operates as an overlay, no flickering, but no alpha blendi ...Show All
Smart Device Development Unable to connect to the remote server.
i am calling web service on PDA but being error..with Active Sync.. error is: Unable to connect to the remote server. but i am calling this web servis is a running correct. but not run on PDA.. can i do on PDA or Webservice.. i am using vs.net 2003 I am sorry but this forum is specifically for questions related to Device Emulator with Visual Studio 2005. Coming to your problem, you may want to double check on the following 1. Your device is properly cradled. (Make sure you can explore the device). 2. If you use proxy server to connect to inte ...Show All
SQL Server Configure Report Server
what's the diffrent between Report virtual directory & Report Manager Virtual Directory The first is the WebServics directory "Reports",the other one is the VD o the Web UI. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server Unable to add user to a role
I'm having dificulty trying to add a user to a role in SSAS. I am operating in a development enviornment with two servers, 1) a domain/file/print server running Windows Server 2003 and 2) my SSAS server running on my laptop with Windows XP Professional. When I try to add a user to a role it seems that I am only able to add users which have local logons to my laptop. That is the only location listed when trying to browse the users. Is there any way to add a user from my Windows Server 2003 domain i.e. domain\username Every time I try this it doesn't allow me to continue. I'd appreciate any ideas. I'm not much of a network/secuity person s ...Show All
.NET Development Time out (Sleep)
I have a data adapter that times out while executing a Stored Procedure. How can I have the web application wait on the results to be returned I have pasted some of the code below. DataSet dsBPMActivityReport = new DataSet (); //Open Connection cnSandbox.Open(); //Execute Query and bind Dataview adpBPMActivityReport.Fill(dsBPMActivityReport, "BPMActivityReport" ); this .GridView1.DataSource = dsBPMActivityReport; GridView1.DataBind(); I don't think I am doing this in a thread, I have not worked with them yet. Therefore, I don't know why it is timing out before the ...Show All
Visual C# Tooltip Text
How to assign tooltip text for command buttons, linklabels in Windows Forms in c#.net I'm using Visual Studio 2005. Add an instance of the ToolTip class to your form and set the ‘ToolTip on toolTip1’ property on each control (you want a ToolTip on) to your desired text. Note that you may need to look for such a line where toolTip1 is the name of your ToolTip instance. ...Show All
SQL Server RTM Integration Services Job
When I try to create a job step of type SQL Server Integration Services Package I get an error: =================================== The specified module could not be found. (Exception from HRESULT: 0x8007007E) (SqlManagerUI) ------------------------------ Program Location: at Microsoft.SqlServer.Management.SqlManagerUI.DTSJobSubSystemDefinition.Microsoft.SqlServer.Management.SqlManagerUI.IJobStepPropertiesControl.Load(JobStepData data) at Microsoft.SqlServer.Management.SqlManagerUI.JobStepProperties.typeList_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedI ...Show All
Visual Basic Setup Build Error
I've make a setup and deployment project in VB8. But when I build it, there is an error in error list: Error 1 An error occurred while validating. HRESULT = '80040155' E:\Visual Studio 2005\Attendance Roll 3.01\Attendance Roll 3.01\Attendance Roll 3.01.vdproj Attendance Roll 3.01 How to fix this Help me Hi, One of the reasons for this error is InstallShield. Take a look at this thread if you have InstallShield on the machine: http://support.installshield.com/kb/view.asp articleid=q106194 Regards, Vikram ...Show All
Microsoft ISV Community Center Forums Find & Replace Macro - Reading from an external database..
I have some code that will do a find and replace looking for a keycode in a database and replacing it with a corresponding value. Let's say I write a lesson plan (I'm a teacher) - and I want to write something in from the Natiomal Curriculum (a weighty tome) - it's too much to write in the full statement each time. I write ks21c the macro opens the db, looks for ks21c and replaces with Key Stage 2 1c) To be able to use a testtube etc..... Only problem is - the code is in Star Basic from the OpenOffice 2.0 suite - can anyone convert it for Word The code follows........ Sub ReplaceABC dim aFind as variant dim aR ...Show All
Visual C# CType
is there a way to accomplish the following in c# from VB If CType(sender, MenuItem).Checked Then . . . End If The closest in C# is: if (((MenuItem)sender).Checked) { } You could use "as" as the other poster said, but it's not a close equivalent to CType. The "as" keyword in C# is a close equivalent to VB's TryCast, not CType. David Anton www.tangiblesoftwaresolutions.com Instant C#: VB to C# converter Instant VB: C# to VB converter Instant C++: C# to C++ converter and VB to C++ converter Instant J#: VB to J# converter Clear VB: Cleans up VB.NET code Clear C#: Cleans up C# code ...Show All
SQL Server SQL Server 2000 & Reporting Services (Report Manager)
Hi there! My company is thinking about making the switch over from Crystal reports to RS and it's my job to install and test it over the next month. Unfortunately I seem to be stumbling at the first hurdle! The installation process went well together with the setup of the sample reports. At the moment I'm running this on my local development machine: Windows XP SQL Server 2000 SP4 Visual Studio.net 2003 IIS 5.1 RS 2000 SP2 Due to our company not having a CA for SSL I setup one on a windows 2003 server and generated a cert through here. This seems to work well (so I thought). Access to the reports works excellent and I ...Show All
Visual Studio how to delete cancel build task item
Hi, Does anyone succeed in deleting all the "Task List" items after cancelling a build I cancel a build in the "OnBuildBegin" handler. The code I'm using to delete the task list items : Window taskListWindow = ApplicationObject.Windows.Item( Constants.vsWindowKindTaskList ); TaskList taskList = (TaskList)taskListWindow.Object; try { foreach(TaskItem item in taskList.TaskItems) { item.Delete(); } This code is called in the "OnBuildDone" event handler. When item.Delete() is executed, I get an "Object reference not set to an instance of an object". The item reference, however, does exist. It contains the "Compilation cancelled by user" ...Show All
