James Manning - MSFT's Q&A profile
SQL Server Problem with creating endpoint in SQL 2005: "Incorrect syntax near 'ENDPOINT'"
Please help! I am trying to create an endpoint for my data base and i constantly receive the Incorrect syntax near 'ENDPOINT' error message. i am running on Windows XP and i believe I am using SQL interprise edition (I installed it on top of the evaluation version, and it didn't give me any error during installation, so i take it that it installed most features) here is the code i am using to create the endpoint: CREATE PROCEDURE GetData AS SELECT FirstName, Age FROM mytable GO CREATE ENDPOINT sql_test STATE = STARTED AS HTTP ( PATH='/test', AUTHENTICATION=(INTEGRATED), PORTS=(CLEAR), SITE='*' ) FOR SOAP ( WEBMETHOD 'UserList' ...Show All
Visual Basic Full screen form?
VB 2005 Express: In designing a form, I know how to make the form fill the screen when it runs, but is there a simple way to make it fill the screen (maximize) while designing it Sorry, I have very limited experience with VBE. Thanks! That helps a lot. At least I can play with most of the screen space now. ...Show All
Visual FoxPro Help with adding a button to a grid column programmatically
Help I am working on a VFP 9.0 app that has a grid that shows 3 different sets of data depending on a radio button selection. This is why I need to do this programmatically. I need to add a command button to one of the columns. I can add the command button using the IDE and it works fine. But when I add it using the following code all I get is a grey background in the column. I thought it might be because the command button was way to large for the column but this is not the case. For a test I tried to add a check box to the column and it added it and displayed it properly but I could not check the box using the mouse ...Show All
Visual Basic SIMPLE PRINT EVENT in VB
All I need is a simple print event in my code..... I was told it's like 2 lines but everything I find on the net is more like 6-25 lines long! This is my code and currently it won't print after hitting ok. AllI want is to be able to print a simple lottery ticket. Private Sub ckPlayPick6_CheckedChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ckPlayPick6.CheckedChanged 'declare Pick 6 variables Dim intNumber9 As Integer Dim intNumber10 As Integer Dim intNumber11 As Integer Dim intNumber12 As Integer Dim intNumber13 As Integer Dim intNumber14 As Integer Dim objRand ...Show All
Visual Basic VB?
Hi, I was wondering if there is any free version of VB around And which is better to learn ( ) VB or C++ or whatever the laguage is called ^_^ (sorry I'm a beginner :)) Thanks, Henry. Henryl77 wrote: I was wondering if there is any free version of VB around VB 2005 Express is freely available at http://msdn.microsoft.com/vstudio/express/vb/ All you need to write VB applications is a text editor and the VB compiler, which is included in the .NET framework which is also a free download. ...Show All
Visual C++ icon scale
Is there a way to scale a icon(extracted from an executable using ExtractIcon(...)) I don't want to clip part of the image, I just want to be able to shrink/expand it. Note: I'm using VS.NET 2003 MFC Thanks. You can load specific icon sizes from an icon via LoadImage http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/resources/introductiontoresources/resourcereference/resourcefunctions/loadimage.asp ...Show All
.NET Development Large Collection(s) of RegEx objects, is this OK?
I'm writing a small application that parses data from a server as it is received, and have around 500 regular expressions that, when matched, perform various tasks. What would be the best way to keep up with all of these Regex's, keeping the application as fast as possible I created a test application which looked something like this: int y = 0; for (int x = 1; x < 2000; x++) { Regex xRegex = new Regex(@"^This is a test\.", RegexOptions.Multiline ...Show All
Visual Studio Express Editions Tiny app consumes lots of RAM
I just created a small app for my contacts and it uses a small database with one table and single Windows Form. IN the Vb IDE, all I did was a simple drag and drop from the data sources panel onto the form. I let the ide create the controls, on the form, to interact with the database. Other then the binding navigator, no other controls are used. No menus......nothing. I compiled and published the project and installed it on my pc and ran it. I was surprised when I looked in task manager and saw that it was consuming 29 megs of ram. That seems really high for an app so small. Especially when VB Express (as big as the app is) was shown as ...Show All
Smart Device Development VS.NET 2005 BETA2 : Could not establish connection to network
Hello to all! I just create one simple solution in VS.NET 2005 Beta2 with 2 projects: -webservice project (just with default HelloWorld web method) -smartDevice project (who call HelloWorld web method) When I try to call WebMethod the error occurred (I use PocketPC 2003 Emulator): An unhandled exception of type 'System.Net.WebException' occurred in System.Web.Services.dll Additional information: Could not establish connection to network. When I write the same code in Windows project everything works OK. I use this code: ----------------------------------------------- localhost.Service s = new localhost.Service() ...Show All
Visual C++ Chart in C++ (MFC)
I want to implement a column chart in my dialog and dunno is it even possible using MFC. I searched keywords like pie chart , bar chart , column chart , chart control , and several others that I could think of on MSDN with no result. When I searched the internet for "pie chart c++" i found some tutorial beginning with " First insert the chart control in your project using Project->Add Reference->Microsoft Chart Control . " I cann't do that. There is no "add reference" in my project menu. Even when I chose "add reference" from the solution explorer, there is no "Microsofr Chart Control". I am using MSVS .NET if th ...Show All
Visual C# about properties of From control, reaplace default icon
I am learning vc#, have a question about Form control As title said, I created a microsoft windows application project in VS 2005 (Chinese S), and I want to replace the default Form's icon. I have found properties window and icon property. I have changed the value of icon to using my icon, and built the project, but application window doesn't show my icon and aslo doesn't show default icon, the icon change to one like a text icon. why My icon create in vs2005. I want to know what my mistake is, Thank you! P.S. Forgive my poor English. If there are unclear things, please tell me. ...Show All
Visual C# accessing outlook 2000 using c# with out MAPI & without COM
actually i want to access outlook in c# application. means i want to access all mail items in all folders with out MAPI. can any body suggest with .NET components. Hi Sivaji, Based on my understanding, you want to read outlook 2000 items in .NET. If I misunderstood, please feel free let me know. If we did not use MAPI, we need to go the COM way. Automation Outlook and Read/Write its item. We can use Outlook COM Object Modal in .NET by adding COM referenect to Outlook. For Outlook XP,2003 we have offical PIA(Primary Interop Assembly), but for outlook 2000 there is no PIA. So that the IDE will generate a ...Show All
Visual Studio Express Editions Strange error when trying to create a new project.
I recently opened a project that I had already created and edited it. After saving and closing, I went to create a new project, and now I get this error: Access to the path 'C:\...' is denied. I don't understand what is going on, just a few minutes ago I could create new projects. Also, when I try to open an already existing solution or project file, I get an error saying: Unable to read the project file 'example.vbproj'. The path is not of legal form. What in the world does that mean! lol Any help as to how I did this (I'm sure I messed something up when editing my other project since software doesn't just screw up on its ...Show All
Visual C# how could I define I m coming to the end of a rtf box?
I've thought for ages and maybe its just something simple missing that I cant see. What I want to do is 'do something' when I m coming to the end or at the end of a rtf box when typing (either way not bothered) in a way like below: private void defineendofrtf(richtextbox rtf) if ( 'end of rtf is coming - code I need here' ) { do something; } Anyone have any ideas anything to do with rtf.lines Well let me see if I can help. If I understand correctly you want to detect when someone is coming close to the end of your richtextbox while typing. All you need to do is add an eventhan ...Show All
SQL Server Err while importing data containing value of date field is of yrs.1800
hi Dear All How can i import data in SQL Server 2000 which contains the value of date field from 1800 yrs to till now eg. 15/12/1860, 10/10/1896, 10/10/2006 but if i change the year of date value to 19 then it's imported. anybody can help me please! Thanks in advance Rahman Are you trying to use a smalldatetime field to store the data ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/tsqlref9/html/9bd1cc5b-227b-4032-95d6-7581ddcc9924.htm -Jamie ...Show All
