paulixml's Q&A profile
Visual Basic VS - prompt before exit?
When I'm about to exit VS2005 (or VS2003) it doesn't prompt me if I'm sure. Is there any way to set this option I looked in VS options and searched registry keys, but didn't find anything. I'm probably missing something obvious. Can u help me, please Thx in advance Hmm, still doesn't add up. The windows have their own close button, the one with the black X. Do you use the tabbed documents interface (Tools + options, General, "Window layout") ...Show All
SQL Server SQL Server Express SP1 Setup Changes
The just released SP1 version of SQL Server Express has a file name of sqlexpr.exe. The previous setup file was named sqlexpr32.exe. Why would Microsoft change the file name Anyway, the file name change obviously breaks the file name that is coded in the bootstrapper package.xml file. Also, the link address will need to change (I suppose Microsoft couldn't just put a new version at the same link with the same file name so that everything would just keep working ) Is there a revised package.xml file we can use If not, do we use the same publickey Are the necessary changes documented anywhere Thanks Russ Stevens Wait! http://blogs.msdn.com/sqlexpress/ says: "Since SQL Express is ...Show All
SQL Server Help required in import Data into sql 2005 from excel 4.0
Hi I have to import data from a number of excel files to corresponding tables in SQL 2005. The excel files are created using excel 4.0. I have created an excel connection manager and provided it with the path of the excel sheet.Next i have added an excel source from the toolbox to the dataflow. I have set the connection manger, data access mode, and the name of the excel sheet (the wizard detects the sheet correctly) in the dialog window i get when i double click the excel source. Every thing goes fine till here. Now when i select the 'columns' in this dialog window or the preview button, i get this error TITLE: Microsoft Visual Studio ------------------------------ Error at Data Flow Task [Excel Source [1]]: An OLE DB error has occurre ...Show All
Software Development for Windows Vista Recognition Pack and/or Ink Analysis Redist DLL?
Hi All, Sorry if this is fairly basic or if I am looking in the wrong location, but I'm having trouble with an Ink Recognition issue. I am currently using an InkOverlay and I would like it's CollectionMode to be InkAndGesture so that I can respond to various Gestures. I am running Windows XP SP2 with the TPCSDK 1.7 installed. If I run my application withouth the Recognizer Pack installed I get an acception (as expected) that the only allowable CollectionMode is InkOnly. Fair enough, so I install the Recognition Pack that has been linked to serveral times in this forumn and then everything works fine. However, my application will still fail on all machines that do not have this Recognizer Pack installed. Thus my question is what refer ...Show All
Windows Forms How can I get a user-selected region of a picture?
Hi, I'm trying to make an application with some photo-editor-like capabilities. I am displaying an image in one window and I want the user to be able to select a region of that image by dragging a rectangle. I am then trying to display only the selected region in a second window. I initially thought the PictureBox control sounded appropriate but after searching through a number of different forums I gather that PictureBoxes are really only for displaying pictures. Is this even the right control for what I am trying to do The first step for me is allowing the user to even drag a rectangle (similar to in MS Paint). I only want this dragging to be allowed within the picture display area, so would I have to use the MouseDown and MouseUp event ...Show All
Visual Studio 2008 (Pre-release) WCF UserName authentication
HI, I'm trying to implement username authentication for a WCF service (hosted in ServiceHost, not IIS) and once service starts it gets to Faulted state if i specify: tcpBinding.Security.Message.ClientCredentialType = MessageCredentialType.UserName; Here's the piece of code where service is being started (all settings, e.g. endpoints, behaviors are set in code - there is no app.config in the project): //////------------------------------- urlService = "http://localhost:8000/MyService" ; host = new ServiceHost(typeof(ServiceLibrary.service1)); host.Opening += new EventHandler(host_Opening); host.Opened += new EventHandler(host_Opened); host.Closing += new EventHandler(host_Closing); host.Closed += new EventHandler(host_Clos ...Show All
.NET Development Help me plz!!! if i have file containing Hexadecimal in it......
if i have a file saved as .txt or .bin in my hard disk...through filing i have to read that file ..the file contain hexadecimal in it such as 1a 2a 3c 14 12 4d................. now i have read these hexadecimal from file and to put them in array .of integers......means ......if i take int [] array = new int [10]; then hexa decimal should be like.....array[0] = 1a; .array[1] = 2a; like this every hexa should sit on one postion of array ...thx u plz help me well....u all my brother markkus and svenc u help me....svenc u were right there was a problem in my text file i correct it.....therefore code is right......................i m very happy....what u want my brothers in reward...of what u help me.....and gave me ur precious t ...Show All
.NET Development DateTime.Parse(<dateobjectvar>.ToString()) exception
After installing our ASP.NET (currently still 1.1) application for years successfully on different systems in different countries (even far east and arabic) we finally came across a 'seemingly english' system (installed somewhere in Luxembourg :-), where the line above throws an exception. Although I fixed the problem by using explicit ISO date formatting strings I tried finding related issues, because the construction should NOT throw errors according to the documentation. The date string being parsed looks like this: "27/11/2006 10:19:12 PM" Could this be related to http://www.pcreview.co.uk/forums/thread-1254179.php which seems to indicate that console apps react different then ASP.NET apps, which may be ...Show All
Visual C++ error LNK2001: unresolved external symbol "void __cdecl read_image blablabla....
Edit2: I found something buggy at the line: sumpixels=image [ a ] [ b ]; histoArray [ i ] =sumpixels; i++; it seems that it copy 65536 times something! (I commented //histoarrays and //i++ and put a cout<< "test" ; instead... it makes a lot of outupt test! Edit: Hello, I have corrected this problem by "adding to the project" in visual c++ the "image.cpp" file... It now, does not tells me any error while "building the .exe". However it still crash when "executing the .exe"... !! Anyone can copy my code and compile it to try, please I can give you my ...Show All
Visual Basic Visual Basic_my game
I would like to know how to include a number of times a button has been pressed in Visual Studio 2005 Tanx Use the VB forums Here's the code to do what you are asking Public Class Form1 Private ICount As Integer = 0 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ICount += 1 Me .Text = "You have clicked the button " & ICount.ToString & " times" End Sub End Class ...Show All
Smart Device Development Hello I am trying to create a program
That shows the time from the hardware SO I want to press the button and then have the output display on a screen in a box.. that is correct make sure you install .NET CF 2.0 SP1 on the mobile device, usually you can select to deploy the latest CF from within the solution/project properties or simply download the setup file from: http://www.microsoft.com/downloads/details.aspx familyid=0C1B0A88-59E2-4EBA-A70E-4CD851C5FCC4&displaylang=en download and double click on desktop, once installed, you should be able to run and deploy your application! hope it helps ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The XNA Framework and DirectX
Hi! Do I need to at any time learn DirectX when working with the XNA Framework In other words does the XNA Framework provide everything that DirectX provides, but without writing a single line of DirectX code Thanks, O. It depends on how deeply you are diving in the programming. All of us are really happy without writing any line of the DirectX code (except MS boys). The MS DirectX supplies a set of high-level APIs to access a hardware things. Writing an application used native DirectX in full strength is not a trivial task. The managed DirectX for managed languages (like C#) is a step toward the less painful coding and the XNA framework is just the next step. Because managed languages are relativel ...Show All
Visual Studio Express Editions Technical Problem when transporting Project
I have built a project on a PC running Microsoft Visual Basic 2005 Express Edition. I also installed this software onto my laptop (from the same CD and registered it fine too). But when i save the project from my PC and close Microsoft Visual Basic 2005 Express Edition i sometimes get errors about the program (doesn't bother me that much and i just send the error reports via the prompt). I then copy the solution that i have developed in the Projects folder to my memory stick and copy that into my Laptop's Projects folder, but when i goto open Life.sln or Life.vbproj (one folder deeper) i get an error that says this (BTW, it's the same error both ways [so both times it's Life.vbproj]): Unable to read the project file 'Life.vbproj'. C ...Show All
Visual Studio Team System WorkItemFormControl hanging on .Item assignment
Hello All, I am seeing the WorkItemFormControl form hanging while I initialize it with the following code: m_wifc = new WorkItemFormControl (); m_wifc.Item = paramWI; m_wifc.Dock = DockStyle .Fill; m_wifc.Name = "WIFC" ; When the .Item property is assigned, the control seems to hang and never return. Here is the callstack from the debugger: [Managed to Native Transition] Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.dll!<Module>.CLocker.Enter() + 0x19 bytes Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.dll!Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.FieldClass.IsReadOnly.get() + 0x69 bytes Microsoft.TeamFoundation.WorkItemTracking.Client.dll!Microsoft.Tea ...Show All
Visual C# Displaying a Generic.Dictionary object in a PropertyGrid
Hi, I have a property in one of my classes that returns a Dictionary object: public abstract partial class NonStationary : Structural { protected NonStationary( string name, Shape. Shape shape) : base (name, shape) { } private Dictionary < string , Motors. Motor > _motors = new Dictionary < string , Motors. Motor >(); [ BrowsableAttribute ( true ), ReadOnly ( false ), TypeConverter ( typeof ( CollectionConverter )),] public Dictionary < string , Motors. Motor > Motors { get { return _motors; } } } There are four classes th ...Show All
