Jignesh Vyas's Q&A profile
Microsoft ISV Community Center Forums Referencing unregistered DLL
Hi all, I've had kind help with part 1 of my problem somewhere else on the forum, but I think part 2 should be posed here. What I am trying to do is create a .dll-file (TestDLL) that contains a function (StartMe) initiating a form (frmMain) and then call that form from both an EXE-file and an Excel add-in. The DLL-file I created with VB 2005 could not be registered with Windows, so I could not call the function StartMe from within the EXE. As it turns out, I could simply include a reference to TestDLL in the EXE-file, telling it where to look for the function StartMe. Logical deduction would therefore tell me I should also include a reference to TestDLL in the VBA-code, telling that where to find StartMe. Is it possible to do ...Show All
Game Technologies: DirectX, XNA, XACT, etc. simple projectile motion physics??
im pretty new to gamedev, so simulating physics is new to me too. i know the projectile motion formulas, im just having trouble applying them. is there any "tutorial" on projectile motion physics for XNA basically, someone suggested to do "scorched earth". im trying to get the hang of just some simple projectile before i apply it to a game. i know i should basically have to just enter the initial velocity vector and the angle. then have it passed to a function that gets the initial x velocity, and initial y velocity. also, im assuming that whatever i get for y-velocity should be negative as "up" is negative in the XNA graphics. then, after each update, it should find the current change in position for x and ...Show All
Visual C# visual studio stops in mid of debuuging giving server busy
Hi I am seeing that when i debug my code visual studio goes half way thrugh the debugging and then out of sudden takes long time in executing simple code and then at that point of time it shows that requested statement has timed out . Then if i try to go to next statement it stops the execution and try to execute the whole app again. Sometimes i get Server Busy error What is going on ...Show All
Visual Studio 2008 (Pre-release) Rerouting Com+ call
hi, I have a 4-server cluster that has CLB. All the calls are routed to the CLB through NLB nodes that route to the next server in the cluster that has lowest CPU usage. All of the 4 CLB cluster run a set of COM+ applications. I would like to know if there is a way to re-route the call from one CLB server to another and PASSING THE WHOLE CALL CONTEXT so that the target server can reply directly back to the client. Is there any way to let the target (rerouted) server know about the Caller (origin) and set any context property so that this server can return to the Client directly thanks rb hi, I have a 4-server cluster that has CLB. All the calls are routed to the CLB through NLB nodes that route to the next server i ...Show All
Windows Forms DataGridView: Select Rows and retrieve the values of the cells
Language: VB.NET 2005 Framework: 2.0 Database: SQL Server Express 2005 I have a DataGridView that is populated with data from a SQL Server DB. I need to allow the user to select Rows of interest and then the values of some of the cells on the selected Rows needs to be retrieved for Math calculations. I can retrieve values from cells I just need to know how to get VB to notice that a Row has been selected and only retrieve the vallues on the selected Rows. How to retrieve Values from a DataGridView - May Help Someone OutPut = DataGridViewName.Item(columnIndex As Integer, rowIndex As Integer).Value.ToString txtOut.Text = grdCboTest.Item(3,0).Value.ToString Thanks in advance for any help, Mike ...Show All
Visual Studio Team System Encrypt Stored Procedures
When I deployed my schema changes I used the option to encrypt my stored procedures and now that I have done this I can no longer perform a comparison with my database schema. I am using CTP3, so I haven't tested if this was corrected in CTP4 yet, but is this going to be able to decrypt stored procedures and views so that I will still be able to perform a valid comparison with my schema. I don't like the answer of not being able to compare encrypted objects. It would really be nice to still compare these types of objects. If you can't compare them because of encryption then maybe based on some type of version number or guid would be a second alternative. Is there going to be a way to compare objects based ...Show All
Windows Forms Change Install and Update URL after publishing...
Hello, I need to create a setup project for a webapplication that includes a link to a ClickOnce installer (MyApp.application) and the ClickOnce installer package itself. The problem is that when I build and publish the ClickOnce application I don;t know the Install URL that will be used on the web server after the package is installed there. In a few words, I need to manually republish the application on a series of different webservers by simply copying the files to other websites. I found in the MyApp.application file, the section that holds this install URL: <deploymentProvider codebase=" http://installLocation/MyApp.application " /> and changed the codebase attribute in a custom action of the wrapper set ...Show All
.NET Development XML - Reading File and inputting to textbox then update once user is happy
Using VB Express 2005: Just finished writting a little bit of code that gets vehicle information from one one our data providers. This file is then downloaded and its is saved as a temp file in xml format. I am having problems with the following: Reading the results from the xml file into textbox on my form. the following is the output I get from our suppliers, < xml version="1.0" encoding="utf-8" > - < ReturnValue xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:xsi =" http://www.w3.org/2001/XMLSchema-instance " xsi:type =" Vehicle " xmlns = www.BLANKOUT######.co.uk/VrmLookup > < Vrm >A1**** </ Vr ...Show All
Microsoft ISV Community Center Forums Autofilter criteria's
Hello everyone, This might be really simple but I couldn't find the answer for it.What I'm trying to achieve is that I need to find all the possible autofilter criteria's of a single Excel list field (Column) from VBA. I know I could just iterate over the column's cells and distnictly find the values and store them into an array, but I'd really be intrested to know if there is a property which already gives me that. thanks, Mohamed Hi You could always store the unique values of a column in a collection, below runs down column A until it hits a blank, then lists unique entries in the debug window: Public Sub Listing() Dim x As Long Dim strList As New Collection x = 1 With Worksheets("Sheet1 ...Show All
Windows Forms context menu transparent?
Hi, Can I make the context menu transparent When the context menu shows on top of the button or something, is it possible to set the context menu transparency Thanks in advance. Hi, nobugz, Thanks for your reply. But i don't have Opacity this attribute for my contextMenuStrip. Anything I miss nobugz wrote: This code worked for me: private void button2_Click(object sender, EventArgs e) { contextMenuStrip1.Opacity = 0.5; contextMenuStrip1.Show(button2, new Point(0, button2.Height)); } ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Could this be used to make a Morrowind scale RPG?
Hello, I was just wondering if XNA could be used to make an Morrowind scale RPG As has been mentioned, your biggest obstacle is the scale of the project. I don't want to say that one person couldn't pull something like that off, but if Morrowind took a sizable team 2 to 4 years to make.... If I had a dollar for every project I've started and abandoned. ;) ...Show All
SQL Server SQL Server 2005
When I click Start, All Programs, SQL Server 2005, SQL Server Management Stusio, SQL Server Management Studio Opens, then Connect to server Windows appears. Using Windows Authentication and server type as Database Engine, I click connect and get the message "cannot connect to server1. Additional Information: An error has occured while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings of SQL Server does not allow remote connections. (Provider: Named Pipes Provider, error:40 -Could not open a connection to SQL Server) (Microsoft SQL Server , Error: 1231)" I am using a stand alone Windows XP Professional Computer. What can I do to be ...Show All
Visual Studio Team System TFS error with MOSS 2007
I recently upgraded our (very small) server from WSS 2 to MOSS 2007 and now I cannot create a new team project. Ill be honest too, the upgrade process did not go smoothly, I had to completly remove WSS 2 (luckly we didnt really have anything in there) and install MOSS 2007. Now when I try to create a project, I get this message: “The language id specified in the process template does not exist on the WSS server.” What can i do Im not using WSS and I dont know how to fix this... How does re-installations of TFS work I can re-install it but I DONT want to loose all my current source code etc... Is there a nice TFS config tool out there Thanks for any help... Hy Mark, In a previus post you told ...Show All
Visual Studio Express Editions Installing VC# Express after the Pro
Hi, if one have the VC#2005 Pro installed, can then install the VC#2005 Express without damage the pro version (unfortunately, the express installation don't permit to modify installation directory that is the same of the professional). Thanks. There have been several questions about this already. Yes, you can install and run both VS pro and VS express side-by-side, just like you can have VS 2005, 2003 and 6.0 all on the same machine. ...Show All
Visual Studio Team System Product Feedback for Team Foundation?
I'm trying to find Product Feedback for Team Foundation Server is it under the Visual Studio Product Feedback category Anyway, here is the bug I discovered. If you have a Report Path on Reporting Services with the same name as a project you are trying to create in Team Foundation. The project creation dies (expected behavior because it's in the documentation), and the report path is deleted from your reporting services. Obviously if someone accidentally named their Team Foundation Project with the same name as their Report Repository, they didn't realize that it had the same name, and I'm sure in most cases they wouldn't want it to be deleted without warning. Fortunately it was an empty repository for me (I had planned to design ...Show All
