sandyJ's Q&A profile
Visual Studio Express Editions Cursor locked into a text box
I will post the whole code below. The form works fine the first time around but when adding a second database row (a second record) the cursor will not leave the date time text boxes (masked text boxes) once entered unless a valid date is entered. Public Class NewVehicle Dim Ready1 As Boolean = False Dim Ready2 As Boolean = False Dim Ready3 As Boolean = False Dim Ready4 As Boolean = False Private Sub NewVehicle_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .Vehicle_filtersetTableAdapter.Fill( Me .M1DataSet.vehicle_filterset) Me .Vehicle_typeTableAdapter.Fill( Me .M1DataSet.vehicle_type) End ...Show All
Visual Basic Shared property works in VS2003, does not in VS2005
I'm moving an asp.net program made in Visual Studio 2003 over to VS2005. I'm just creating the pages in VS2005 and copying & pasting code. I'm finding my Shared variables are not working in VS2005, as I get the error "Name 'Errors' is not declared". In the example below, I have the Class "Errors" (a web page, "Errors.aspx") which sets the property. Then I show the Sub addFootnoteToPDF() which is on another page (open.aspx); this makes a reference to the property in Errors.aspx. Can you see why this works in VS2003 and not in VS2005 Thank you! Partial Class Errors Inherits System.Web.UI.Page Private Shared m_ReferringURL As String Public Shared Property ReferringURL() As String Get Return m_Referri ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How can we build usefull tools around XNA if SwapChains have disappeared ??
Hi, Here is my question, ant the context. MDX 2.0 is dead, MDX 1.1 is dying, XNA is growing . My chief ask me to evaluate Managed Technology and to port our old fashioned OpenGL Engine to .Net. Your software use many game technique and produce PhotoRealistic RealTime Image, but since it's not a game, we realy need many windows... (We manipulate large models ~ 1 500 000 triangles with complexe shader at ~ 20 FPS. ) With The Xna Beta 1 and Microsoft Visual 2005, I started to port the foundation tools required to make professionnal application. The first step was to build a Xna Widget :) It took me be 10 minutes !! I ask to myself XNA is certainly the future. Then I port our compiled file format to C#, (easy) Then I port our mesh structure to ...Show All
Visual C# Parent class, not base
Hello! How can I access parent class (owner of the current class) fields Example: class class1{ string myField; class2 myClass2 } class class2{ public class2(){ //need to access myField from class1 (like "parent.myField"). } } The only option is using Reflection Nothing more simple, direct Thanks. Hi, So if the field is Private, the only reflection is the way to go. But keep in mind that you can create a property for accessing that member. You do need to think about designing it right, meaning that you can choose to inherit from class1 and creating a Protected property to that private member. I hope this helps, guy kolb ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DreamBuildPlay is up!!!
Now go register!! Actual contest details to come the week of Feb 5th Plese, Someone at Microsoft.... the drembuildplay site, even though the competition should be global, does not allow non-US people to register. I don't live in the U.S., so I can't choose any state, the zipcodes in my country are 6 digits long, and the telephone numbers are not in the US format. Edit: didn't see errolian's post before i posted this. P.S. did I mention I passed from neutral state, to exalted state and then down to low-morale state in about 2 minutes .... does this make me emotionally unstable ...Show All
Microsoft ISV Community Center Forums Problems upgrading from Office 97 to Office 2003
Hi all Finally we have upgraded from Office 97 to Office 2003. When I have upgraded my Access databases I have had an error because MSCOMCT2.OCX was missing. I have Microsoft DTPicker controls on most of my forms. I have copied MSCOMCT2.OCX and MSCOMCT2.TWD into C:\windows\system32 directory, but I still cannot see the time and date picker controls in the tool box. My original controls come up with an error that there is no object in the control. Have I missed something ...Show All
Visual Basic Stand Alone windows form application
Is it possible to build windows forms stand alone application using visual studio and framework 1.1. I'd like to create application so after installation there is no need to install framework on user computer. Is this possible in VB.NET I was trying to use Redistributable framework but no success. Hi Afraid not ... if you build a managed executable (as in .NET) then you also need to ensure the framework is installed. Richard ...Show All
Microsoft ISV Community Center Forums cutting down this code? help?
Hi im writing a form to transfer a manually inputted value from 2 cells into a table(in another sheet) but a different colomn depending on what day is selected... now the value of cell B1 is the name of a person from the dropdown list 15 names in total so B1's value could be 1-15, the value of cell C1 is the day of the week (there are options to select on the form for each day) 1 - 7 is obviously monday to sunday, then the button which launches the code and copys the data making it simpler for me to log the data. now this snippitt below works but i can see this becoming one mamath code and am hopeing someone can help me make this code alot smaller maybe using arrays or a predone func ...Show All
Visual Studio Team System Proxy reports "Service unavailable"
When performing a forced get of a complete folder, using the proxy on a remote site, the following error occurs. " The source control proxy 'pgx206' is not responding, so the request will be sent to the main server ... HTTP code 503: Service Unavailable" According to VS's output window, some files were get successfully because the error is listed only after some files were replaced. Replacing W:\Main\TestFiles\foo.cs The source control proxy 'pgx206' is not responding, so the request will be sent to the main server. Please verify your settings. Additional information: Please contact your administrator. There was an error contacting the server. Technical information (for administrator): HTTP code 503: Service Unavailable ...Show All
Visual Studio Express Editions VB.net Adding columns values for all rows
Hi, Can someone help me out I need to add, for all rows in a DataSet, the values of one specific column . I'm using TableAdapter querys. Can anyone help me Regards, Pedro Hi, Besides Fill method, I can create new querys. With a new query, I can use SQL statements to achieve what I need (add ). I don't know how the sintax for this SQL need... ...Show All
Windows Forms Loop capture image and generic error occured in GDI+
I've application to capture video of image and grab the still image. It runs well untill I put loop to regrab the still images many times automatically.. and the error (generic error occured GDI+) happend. For your information, I also run different code of application that have similar function which to capture the image repeatedly that I found from internet. However, it give the same error message. I think maybe I've to setup something in the configuration but I still blur about it. I'm using C# Express edition. Could anybody help me please... Hi can you email me your project to : gav @ pinnacle-software-solutions . com I am sure the problem is minimal, I can see nothing as such wrong with your code, however if I can compil ...Show All
Visual Studio Team System How to get changeset history in a given period
I just wanna get the history, e.g., from Jan 1st to May 1st. But I didn't find any command matched this, is it possible thx. If you chose the Get Specific Version option, you will have the ability to select the type in the Get dialog. Select ellipse next to the changeset filed and you will get the Find Changeset dialog. You can select the created date option atht will let you select a date range. If you click Find, you will get a list of all the changesets in the date range. Unfortunately you cannot drill into the changesets to see the details, but you will have the changeset numbers. -paul ...Show All
Microsoft ISV Community Center Forums Application Error Caused by launching a Game
Hello Kind Souls, i have encountered this Application Error which said something about the referenced memory could not be "written" when attempting to start a game "AuditionSEA" i met the game's requirements already, including directx and stuffs. any kind souls willing to share their experiences or spare any remedy Thanks! ...Show All
SQL Server Expression-based Data Source + subscription = No-go?
Set up reports to use expression-based data sources and everything works fine as far as executing and viewing the reports. The ConnectionString expression includes the credentials, and the "No credentials required" option is selected. Unfortunately, am getting this when trying to create a subscription for same report. WTF eportingServicesService!processing!3!12/20/2006-12:20:07:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'XXXData'., ; Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'XXXData'. ---> System.InvalidOperationException: The ConnectionString property h ...Show All
Visual Basic Dynamic drawings in VB.Net
Hi, Is there any VB.Net equivalent to the vbXorPen and vbNotXorPen options of the DrawMode property in VB6 These options were very usefull to create dynamic drawings. Thanks by advance, Pierre Thanks to Reed and Stephen for your answer. What I would like to do: Being given for instance a PictureBox containing drawings. I would like to draw some item (line or any shape) above the contents of the PictureBox, and make it move or change, following for instance the mouse pointer, this without destroing the initial contents of the PictureBox. In VB6, it was only to draw the item in vbNotXorPen mode to make it visible above the existing drawings, and to redraw it at the same place with the sa ...Show All
