Aelx's Q&A profile
Visual FoxPro Errors running FoxPro Stored procedures in .NET windows app
Hi I want to run a stored procedure in user selected database which basically creates two new tables to be persisted in the same database. I am able to call this stored procedure but I keep getting the same error "One or more errors occurred during processing of command." There are no details of what the error is specifically about. I am able to run the same stored procedure using Microsoft Visual FoxPro 9.0 software. My Connection string is "provider='VFPOLEDB.1';data source='strPathName.dbc';password='';user id='';Mode=ReadWrite". Any ideas or suggestions are appreciated. Try If VFP7Connection Is Nothing Then VFP7Connection = New OleDbConnection(VFP7ConnectionDefinition) If VFP7Connection.State = ConnectionSt ...Show All
Visual Basic Setting HSB value. Yes add a ColorDialog to your code then>>
Is there a way to set the HSB values of a pixel in an image Can your project set the hue of a pixel without calling the colordialog I know there is a GetHue to get the Hue of a pixel but I can find no way of setting the Hue of a pixel. You can post your project if you have the time and I will look through it. Thank you, Troy L ...Show All
SQL Server Request for feedback - Aliases have been deprecated for some time and will be removed soon
As documented in SQL Server BOL, aliases have been deprecated for some time and we are planning to remove them from the product in the next release. We will greatly appreciate any feedback or comments regarding this change. We would like to know how our customers will be affected by this change and analyze if there is anything we can do to help you to make the transition easier. Thanks a lot, -Raul Garcia SDE/T SQL Server Engine Removal would be a good thing as I get too many questions from junior developers about what I should and should not be using. ...Show All
Windows Forms adding a user control to the Toolbox
I am having problems adding a user control to the Toolbox in the .NET environment. How do I do this Thanks for any help. Bruce Hello All. Bruce: If I recall correctly, that's the original Visual Studio .NET . The way you're doing it is probably the only way to do it. MS has since fixed a lot of the pain-in-the-neck stuff, but I guess that doesn't help you much. HTH. ...Show All
Windows Forms StroglyTyped dataset with changed schema
I was fooling around with Oracle and SQL 2005 Express So that I made a converter/ replicator with strongly typed dataset (used mainly drag & drop). It fetches all new/ changed data from oracle and updates this info to SQL. All worked fine untill I tried to move this same solution to my friends environment, he had a typo on his Schema name. I couldn't fix it just by altering the connectionString in app.config. connectionString to SQL server is working fine, or that could be changed to anything I want. Should this work similar with oracle Is the something that should be changed in the code level I've fixed that by correcting the schema, but what if I couldn't do that.. Forexample I would have to move application from de ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?
Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream Jim, You are correct, 20% is probably the worst I have seen. Unless you do some real thight loop memory operations. Most people never talk about poorly written code either, which is slow regardless of programming language. There is some horribly inefficent examples for every language out there. Having said that, I find it a lot harder to optimize c++ for performance, than c#. The guts is in the algorithms, if you get them right it should not really matter if you write your code managed c#. Roger Larsen ...Show All
SharePoint Products and Technologies Problem in IIS after installing WSS 3.0
Hi all, after installing WSS 3.0,it creates a site which listen on port 80,and all of you know that default web site is working also on port 80. now,i'm trying to change the port for WSS site,but when i changed for example from 80 to 90 or any other port # the site is not working. any one know how can i solve that I guess it depends on how much work you already put into that site that listened on PORT 80. If this is brand new simply go into your Central Administrator and create a new web application to extend and then build your site collection off of that. Pretty simple and straight forward. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Fullscreen Spacewars
I was just wondering if anyone knows how to make SpaceWars into fullscreen, rather than windowed. Thanks in advance! This thread should help you get that going. Basically, you need to put the following code into the SpacewarGame.cs file within the class constructor this.graphics.IsFullScreen = true; That should do the trick. Hope that helps! ...Show All
Visual C++ CreateCompatibleBitmap failing
On a test Windows XP machine with 5 monitors (Overall desktop bounding box is 3328x2048), I create a bitmap that will span the entire display. Normally this works fine. However, if several applications are open (in particular multiple instances of IE7 on certain web sites), the call to CreateCompatibleBitmap(hdc, 3328, 2048) fails and returns NULL. GetLastError in this case returns 0 (NoError). Is there a limit to the total amount of bitmap space that the system can allocate Is it normal for CreateCompatibleBitmap to fail with no error code Anyone have any ideas on how to work around this, or is there a system setting that can allow more memory to be dedicated to bitmaps I was able to get satisfa ...Show All
Visual Studio Changing Margins at Run Time
Hi, Using VS.NET 2005 and C#. I was wondering if it's possible to change the reportViewer's margins at run time I find that if you are creating label sheets the end user may have to tweak the top and left margin to center the text onto the label correctly. Unfortunately, every printer will print a little different. Thanks, Ron It has been a while since I did it so I cant think of any useful links but I have listed some useful tips instead If you want to go down the XmlSerializeable Classes route which allows you to to modify elements of the rdl by simply using class properties instead of having to use one of the various xml parsing techniques, as stated you will need to write a class fo ...Show All
Visual Studio Tools for Office Adding menu item in outlook-2003
Hi all, Can we add a menu item in outlook-2003 using vb.net 2003.If so please tell me how to add. cheers ravindra Just as in other Office programs, you use CommandBar.Controls.Add. The difference in Outlook is that CommandBars is a property of the Explorer and Inspector objects, not Application. In most cases, you'll want to use a wrapper class to handle events from menus on multiple open windows. See http://www.outlookcode.com/d/vb.htm#wrapper ...Show All
SQL Server Restricting access to certain folders?
Hi all, I have a user who I only want to provide access to a single folder within RS2005. I don't seem to be able todo this, they can either see everything or nothing at all. What am I missing Any help much appreciated. Kind regards Tarun SystemUser at site level and browser (and even higher roles tested) at home folder level. The home remains empty (can't see any of the folders in it). ...Show All
Windows Forms How can i create a "right-click menu" i C#
Hi all. How can i create a "right-click menu" in some datagridviews and how can i avoid a "right-click menu" over other parts of my program I am developing a mdi-application, and my default "right-click menu" is all open forms. I want to create my own menu and not show the default one. Does anyone have a url where i can read/get som info on how to create this. Thanks. Simply drag a ContextMenu or ContextMenuStrip (VS2005) component into your form and visually design it, then assign it to the ContextMenu or ContextMenuStrip property of your desired control. To do this programatically, suppose your datagridview is dataGridView1 and you want to a add three items right-click m ...Show All
SQL Server navigate to another target
Hello, I have an html page which has a frameset with two frames named: "reportFrame" and "browserFrame". the "reportFrame" is an aspx page which contains a reportViewer opening a report which has a table. I want from this table's rows to navigate to a url, but that the new url will be opened in the "browserFrame" frame. If I use the textbox properties->Navigation->Jump to URL, the parameter which is passed there is the soure of the new url. the question is if there is any option to pass also the target, something like: target="secondFrame" Thanks a lot, Talia. talia, Would you please tell me how did you resolve it I am encounteri ...Show All
Software Development for Windows Vista TC23 - Problems undoing registry changes after installation rollback
Hello, I'm trying to pass test case 23, and even if I finally got the installer to remove all the files that it installed (I had problems with reportengine.msm of Crystal Reports) after the rollback, I realized that it didn't undo the registry changes made during intallation. I think I read (in a post in this forum that right now I can't find) that we should make a little script to launch after rollback, where we could undo those changes manually. Well, this is what my imaging tool says about the registry changes after rollback: - Values added: 91.900 - Keys added: 97.700 - Values deleted and changed: 1000 Those are lots of changes !! I realized that our controls' registration information is still in the registry, even th ...Show All
