Sunath's Q&A profile
Visual Studio Express Editions VB 2005 Express and activation
I downloaded a VB.NET 2005 Express Edition fom the Microsoft, and I tried activate it. I have a .NET Passport, andI typed my logindata as correct. Bud the activation site is not logged me in. Then I opened a Microsoft Visual Studio registration website, where is in the links i found one, and i clicket to it. then i was be navigated to the serial number page, but if i type this serialk number to the vb 2005 Express { LKCHBB3MWTCWN0 } it say: The Activation key is not valid. I tried sign out and sign in again to mi passport site, but the situation was same. Please help me! I can't register my development environment! I love VB, but I can't use it. Hron-- If your intention is to receive a valid activation key to unlock your VB Express a ...Show All
.NET Development xml loading data into a class made from xsd
Hello, I need an example of how to load data into a class files properties, right now I have something like this: CheckAPIState ChkState = new CheckAPIState (); System.Xml. XmlDocument myxmldoc = new System.Xml. XmlDocument (); string xmloutput = ChkState.CheckState(); //gets the returned value as xml data myxmldoc.LoadXml(xmloutput); string messg = myxmldoc.SelectSingleNode( "ShippingAPIResponse/APIState" ).InnerText; textBox1.Text = messg; myxmldoc = null ; I would rather put the ShippingAPIResponse/APIState value into a class property. Now this example ohnly shows one key however there is going to be alot of output data with other methods. I know I can do something like : pub ...Show All
.NET Development Cache invalidation
When using Asp.Net caching API, if cached items has the same priority, what algorithm is used to decide what items to be removed from cache to release some memory space I am also looking at the Enterprise Librarchy Caching block, the online documentation mentioned that: The onus of the items that need to be scavenged is placed on the BackGroundScheduler object. The BackGroundScheduler performs a: major sort on priority minor sort on LTA Does anybody know what LTA is Thank you Thank you very much for your answer. Is last time access actually the same thing with LRU(Least Recently Used) From my understanding, I can't see the difference. Please correct me if I am wrong. Thank you ...Show All
Windows Forms Validate DataGridView Cells.
Hello, I am currently using a DataGridView on a WindowsForm, for entering data into an Access Database. Data are entered into the database programmatically when a submit button is clicked. Data insertion in the database works just fine. The problem is the cells validation when i press the Submit button. I'll explain what i mean. So far i have utilized the datagrid _CellValidating event for validation but this works only when i click and edit a cell. If i don't click a cell and i just bypass it, the cell will contain an incorrect value (null or empty string) and this will cause problems later when i click the submit button. Is there any way i can validate the whole datagridview cells when i click the submit button Than ...Show All
Game Technologies: DirectX, XNA, XACT, etc. PC Gamer article on XNA (and other topics)
The Holiday 2006 issue of PC Gamer contain about a page and a half on XNA, along with Vista, DX 10, Live Anywhere, and other topics. I'm not sure what the legalities are of scanning and posting the XNA piece. Regardless, go out and pick up the issue and rejoice over the PR XNA is getting. XNADevelopment.com was mentioned. Also - "Six weeks after the release of the free Game Studio Express, it has already been downloaded 100,000 times, and Microsoft is currntly tracking 23 community sites where more than 100 tutorials have been created by the user community alone." ...Show All
Visual Studio Tools for Office custom macros could not be initialized error
Hi, I am trying to access and edit an existing excel 2003 workbook from VS 2003 using VSTO 2003 but I always get this error "The custome macros in .\MyTestApplication_bin\MyExcelTest could not be initialized correctly. You can still edit and save the document. Please contact your administrator or the author of this document for further assistance" Exception string is this "Exception from HRESULT: 0x800A03EC." I am doing this in StartUp function, and this error always shows up when debugger reaches the line indicated below for ( int colcounter = 0 ; colcounter < dsTest.Tables[0].Columns.Count ; colcounter ++) { for ( int rowcounter = 0 ; rowcounter < dsTest.Tables[0].Rows.Count ; row ...Show All
SharePoint Products and Technologies SharePoint error when editing documents with custom content types
Hi, We have these weird problems with standard MOSS workflows. We've created some publishing pages in the Pages document library using custom content types with al sort of site columns (about 20+). Now, when we attach a standard approval workflow to the list and start it manually, everything is ok and the workflow is started. When we want to edit the document however, we check it out and click the edit page or edit properties. If we do this, sharepoint returns an error: Value cannot be null. Parameter name: s Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: Sy ...Show All
Visual Studio Express Editions how to: drilldown combobox (ex. combobox1 --> combobox2 --> texbox)
hi, just got a touch of vb2005EE recently and im very much new to the exciting, challenging world of programming. i hope theres someone out there who could lend a helping hand as to how can i make this flow work: combobox1 --> combobox2 --> textbox 1. first off, the user selects an item in combobox1 (items preferably filled on load) 2. combobox2 items changes accordingly to the selection made in combobox1 (items here changes every time the user selects an item in combobox1) 3. lastly, after a selection is made in combobox2, its corresponding output will then be displayed in a textbox i hope i explained quite clear as to what im trying to achieve with my application at work. hopefully there would be someone who could h ...Show All
Visual Basic ComboBox and Messge
How do you pass a name from a ComboBox list to a variable and then give a message in a message box via a Select Case Statement i.e Case 1 - meesage 1 Case 2 - message 2 etc etc. Ta you don't need to store the item selected in a variable then based on that do a case statement. You can totally avoid this step and just get the Text chosen from the combobox and do your case statements. http://msdn.microsoft.com/library/default.asp url=/library/en-us/vblr7/html/vastmselectcase.asp Example: Select Case Me.theComboBox.Text Case " Bob " MessageBox.Show("Your name is Bob") Case " Jim " MessageBox.Show("Your name is Jim") end select you can of cour ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Render an Image on Screen in DirectX
I know it's a very simple question, but how do I render an image on screen in DirectX and move it around (in 2D) Do I need to use matrices or the sprite class A simple example would be great, I'm using vb.net by the way. :) Pete_O wrote: I know it's a very simple question, but how do I render an image on screen in DirectX and move it around (in 2D) Do I need to use matrices or the sprite class A simple example would be great, I'm using vb.net by the way. :) Look at the Simple 2D sample in the DirectX SDK if you want to use Managed DirectX (which is in C#, but there are several free C# to VB conversion tools on the web that can help you). If you want to use XNA (again, in C#), c ...Show All
Windows Forms How to change the apperance of the DataGridView's Column header
Hi, I am using DataGridView for displaying data, in datagridview by default column header is coming in the top of the cell , how to place the column header in the bottom of the cell in datagridview, i think there might be a some property in datagridview but i am not able to get that property please share ur ideas ...Show All
Game Technologies: DirectX, XNA, XACT, etc. drawing order for multiple passes
I'm porting a MDX project to XNA, and have found a problem. In MDX, when drawing using a multi-pass technique, the scene first is drawn using the first pass, then using the second pass and so on. In XNA, I have the impression that first, the first object is drawn using pass1, pass2, etc. When the first object has been drawn, the second object is drawn. Summarized: MDX: (foreach pass: draw all objects) XNA: (foreach object: draw using all passes) In more detail, the XNA case would be (foreach triangle : draw using all passes). The screens I get quite convince me of this, and if you want I can post some code and some screenshots of both cases. But first I would like to ask if there is some kind of way to instruct XNA to (foreach pas ...Show All
Windows Live Developer Forums Draw Circle on Map?
Hello, I would like to draw a circle on a Virtual Earth v3 map, based on the user clicking a point and dragging a radius. I've seen some of the "background search" topics on this forum, but none seem to deal with doing this in Javascript with the map control. Can this be done Thanks, -Mike I started messing around a bit with this. The best I could come up with (and I think this would be an IE-only solution) would be to trap the onclick and mousemove locations (so you know where the center is and what the radius length is), and then draw your own circle using VML. I did something like this: function AddCircle() { var el = document.createElement("div"); el.innerHTML = "< ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Input for fighting game
Hello, I have been working on a sort of fighting game and now i don't know how to do the Input. It's a windows game so I use keyboard input. What i need is A for punching and W for kicking preceded by a left/up/right/down key to make different punches/kicks. So first tap one of the arrow keys and then tap A/W to make a move. ((If no arrow key is pressed do a default punch)). How can i do this I tried a lot but I don't know how to recogneize which combination keys the user tapped. greets jeroen. If you want a punch to be thrown only once when the use presses the key and never again until they've released the key and pressed it again then you want to do something like this. if (newKeyboardaction.IsKeyDown(Keys.Left) ...Show All
Visual C# How to read data piece-by-piece from a text file?
Hi, Here is the sample data in my text file: 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00010x00010x00030x00040x00050x00060x00070x00080x0009 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00090x00010x00020x00030x00040x00050x00060x00070x0008 0x00090x00010x00020x00030x00040x00050x00060x00070x0008 0x00090x00010x00020x00030x00040x00050x00060x00070x0008 0x00090x00010x00020x00030x00040x00050x00060x00070x0008 0x00090x00010x00020x00030x00040 ...Show All
