Kathirvel's Q&A profile
Visual Studio Express Editions SOMEBODY SAVE ME
<WebMethod()> _ Public Function HelloWorld() As String Return "Hello World" End Function .this web service will return the word hello world .now what i wanna do is to return information from my database .how to i go about it cos i donnoe what i should declare my database by...should it be string , int or whatever it is i tried everythinh and there always an error .btw my database is named as PanHotel.mdf Hi wiscon, i suggest you read this book: " Introducing Microsoft Visual Basic 2005 for Developers " ref: http://msdn.microsoft.com/vbasic/learning/introtovb2005/ it is very helpful, and it will guide you to start up ...Show All
Visual Studio Express Editions pasting capability in textboxes seems variable, any ideas?
Hello all, I've written essentially two version of the same application.In the first version, the textboxes allow users to paste text into them (via Ctrl + V). However, I've noticed that in the second version, for some reason, the textboxes don't allow the user to paste information into them. I've written both using the same version of vb.net express, and all of the textboxes have the same preferences selected (to the best of my knowledge). In fact, I've coppied and pasted one of the working textboxes (one that allows pasting) into the second app, and it no logner accepts pasting. Does anyone know what might cause the applications to act in this manner How can I change this! Thanks so much for any input or ideas. -Robert Sorry it ...Show All
Visual Studio Tools for Office PIA version weirdness
Hi; This is for others that might hit the same thing. As I understand it, when you link to a strong named DLL for a program, the program uses that specific DLL and no other version or one with a different hash. That was done to stop the old DLL Hell problem. Except for Office AddIns ( IDTExtensibility2 , not VSTO in our case) If your AddIn is linked to say VBE 11.0.0.0 and is then run on a system that also has VBE 12.0.0.0 on it - Word will have your AddIn linked to the version 12 DLL, not the version 11 one. It seems to work ok for us in this case. But keep in mind that strong naming basically is ignored for the PIAs for your AddIn. And that could cause problems. (It's also very weird that strong naming is just thrown out the ...Show All
Windows Live Developer Forums [BUG] Using Firefox with Virtual Earth
Firefox 2.0.0.1 (and Netscape 8.0.3.3 with 'display as Firefox' set) give the following Javascript error from the http://dev.cirtualearth.net/standard/v2/MapControl.js file: "aw.attachEvent() is not a function" when rendering my site: http://www.svrsig.org/cgi-bin/ggmap.cgi My site uses the method described in Computer Shopper to display the virtual earth map control. It works fine in IE6 (although I am told it fails in IE7 - I have ignored this for the present as I have had many people encountering bugs in IE7, like wrong pages fetched from google searches etc.). As the error seems to be in a hidden 'DIV' created by your javascript, I am a bit stumped... Any help would be most welcome. I have put the suggest ...Show All
.NET Development File.Delete takes too much time.....sometimes control never comes back
Hi...... I am using System.IO.File.delete method in my project. I takes too much time and sometime control never comes back. my file size is 170 mb. When I debug it, I found that once file.delete g ets called, it will never come out of the call and next instruction is not executed. Please help me....what can I do.. code is simple... if (File.Exists(filepath)) { File.Delete(filepath); } Hi, Are you sure the file is not in use anymore You might want to perform the deletion in a separate thread. Are you using a Windows Application then you can use the BackgroundWorker component. This gives the benefit that you can continue working with the application while the file is being deleted. Here is ...Show All
Visual Studio Team System Rogue Automatic Builds
We just migrated to a new TFS and as of Friday every project in every Team Project of mine is now automatically being built. At first it was once an hour, every hour, that latest a few hours only. Now it is totally at random. Recently there have also been multiples builds of projects being kicked off. For every build I do receive the success or failure email from TFS. The latest cycle of builds has one build for all projects, almost at an hour cycle. But this has not happened since 11:59 last night (they cycle started at 8:40 PM). I do not see any log files being created for the builds, my drop location is not being modified with ‘build files’, the Event Viewer is clean for build errors or messages (except the build that failed for a pro ...Show All
Internet Explorer Development Manipulate page in a frame from JScript in IE6
In IE6, is it possible to manipulate a web page that's loaded in a frame from JScript in the master page Access to the DOM and to click events would be most interesting. If not, I guess I'll have to write an ActiveX control (and come back with more questions :-). Hans-Georg Thanks! I may be able to redirect the frame content such that it comes from a different domain. Very interesting! Hans-Georg ...Show All
Visual Studio Express Editions System.ArgumentException: Parameter is not valid.
Hi, I gave my friend the program application I wrote in C# in the bin/debug file. he has both .net framework 1.1 and 2.0 installed so that shouldn't be the problem. These errors occure: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ArgumentException: Parameter is not valid. at System.Drawing.Bitmap..ctor(String filename) at Tetris.blokje.setColor(String pColor) at Tetris.blokje..ctor(Int32 pX, Int32 pY, String pColor) at Tetris.Figuur.VulBlokjes() at Tetris.Figuur..ctor(Int32 pNr) at Tetris.Form1.CreateNewFiguur() at Tetris.Form1.Form1_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(Eve ...Show All
Visual Studio Team System Labeling and local files
Hi I have a rather complex build process that should label all files upon successfull build. Since the process takes about 20 minutes I'm worried that new files might be committed during build and therefore be labeled wrong. My question is therefore: Is it the latest files in the tree that are labeled, or the version of the files that I have fetched locally Best Regards, Snorre Hello, First, I would disagree about the impossibility to do continous integration with Team Build. There are lots of examples out there (for example, http://blogs.vertigosoftware.com/teamsystem/archive/2006/07/14/3075.aspx ) and there are people using it on every day basis. Secondly, if you want to label the same ...Show All
SQL Server Problem With Result Set in SQL Task
Hello, I have a SQL Task configured to return a single row, and a single column value. The SQL Statement looks like this; SELECT MAX(InvoiceDate) AS InvoiceDate FROM dbo.DailySettlementData The statement parses without a problem. In the 'Result Set' of the SQL Task I have the following; Result Name; InvoiceDate, Variable Name; LatestTableDate 'LatestTableDate' is of type 'DateTime' (and I'm wondering now if this needs to be of type 'Object') I need this MAX(InvoiceDate) value in a later step that checks this value against another date type variable. I'm not getting the result I expect. Do I have the variable for the result set in the SQL Task set up correctly Thank you for your help! cdun2 ...Show All
Commerce Server Need MessageManager configuration in Web.Config
Hi guys i am developing some proof of concepts in the Commerce Server 2007.I done some of the things in cs 2007, now i moved to do some basic things in Pipeline concepts. i created some some code and add the basket.pcf in the Pipelines folder in my project . while i running throgu i got an error message like this, Please configure the MessageManager in the configuration file. How to configure for my basket.pcf file. Hi Vinayak if i given as "CommerceWebApplication" the error comes like this, Unable to load the specified assembly CommerceWebApplication Server Error in '/SampleSite' Application. ...Show All
Visual Basic Charts using database has datasource
Here's the situation: 1. my application connects to a website and retrieves a XML file 2. I create an access database in runtime and i add the new records extracted from the XML 3. I want to create some charts using data from a SELECT SQL command, how can i do it tks for your time There are alot of chart engines out there Crystal Reports, SQL Reporting Service, Dundas , Graphics Server , Developer Express , etc. There is also the open source ZedGraph . ...Show All
Microsoft ISV Community Center Forums Range
Hello, I'm developing a macro to do some calculations on a worksheet, but I always get a problem when I pass a Range as an argument to my function. I need to pass the range as argument. For example: Sub Name() Dim A As Range Set A = Worksheets("Sheet1").Range("CD4") MyFunction(A) End Sub Function MyFunction (ValueDoRange As Range) etc... End Function Thanks Hi, You don't say exactly what error you get but these two things may get your further along. Name is a bad choice for a routine name. It will compile but when you try to run it gives. Compile error: Expected: expression The other problem is the use of brackets around the passing argument w ...Show All
SQL Server The attribute key cannot be found - two cubes - different results
I am working with a cube that was built by someone else. I reverse engineered it to create a project and I am trying to re-deploy it in a development area. I keep getting the ‘The attribute key cannot be found: …’ error on a fact table key. When I use a SQL script to check if there are any missing keys in the dimension table they are all there. I have tried dropping the dimension from the cube and adding it back and changing the DSV from table to Named Query. Nothing fixes the problem. As a test I created another project and included only the fact table and the ‘problem’ dimension and I was able to successfully process the cube ! ! I would rather not ‘ignore the errors’ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. sine/cosine to degrees to... sine/cosine?
I'm just wondering about something. When calculating movement in 2D using the xbox 360 controller, how do you handle movement The classic way is to modify your objects direction and velocity and do a sine/cosine dealio to get the final destination (or whatever). The xbox 360 controller basically returns those sine and cosines... is it safe to just use those Like (pseudo code) update (){ object.X += gamepad.state.X; object.Y += gamepad.state.Y; } Or should you convert it to a direction and then back (like, get the controller offsets, convert to degree, then sine and cosine it) This seems like it'd be better because it's safer. But what if I make a common ship unit or whatever. It's easiest for the AI if it knows what direction it ...Show All
