Vinci's Q&A profile
Visual Studio invalid keycode
my crystal reports are giving this error " cannot fine keycodev2.dll, or invalid keycode. what does it mean n how to resolve it Check these two articles out http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do cmd=displayKC&docType=kc&externalId=http--supportbusinessobjectscom-communityCS-FilesandUpdatesNoNav-crnetkeycodefixzipasp&sliceId=&dialogID=11998949&stateId=1%200%2012004384 http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do cmd=displayKC&docType=kc&externalId=c2010681&sliceId=&dialogID=11998949&stateId=1%200%2012004384 ...Show All
Visual Basic Error message: module containing it is not loaded in the debugging session
Hi I've been having the same annoying minor problem ever since I started using VB.net and was wondering if this is just a feature or whether there is a way round it. The issue I'm having seems to concern shared members of classes. When I try to access one of these member variables or functions to see what their current value is at run time (F9), I get the error message: <membername> is not declared or the module containing it is not loaded in the debugging session. My code is trying to do this: databasePath = Path.GetDirectoryName(txtDatabase.Text) Why can I not see what databasePath is going to become by hitting F9 Thanks for your help! Thanks for your reply. Don't think it's a custom short cut, ...Show All
Visual Studio Visual Studio Editor: How to get the word at current cursor position?
Hi, is there a way for an AddIn to determine the word (not necessary a CodeElement) at the current cursor position, even when nothing is selected It has to be possible somehow, because the Find dialog does exactly this. Regards, Jens You can get the TextPoint or EditPoint at the cursor, then the whole line (EditPoint.GetLines) and then you move forward and backward since the position inside the line until you find a caracter that you don't conside part of a word. ...Show All
.NET Development use existing store procedure is disabled
Does anyone to why when I right click on a tableAdapter to add query I don't get the "use existing store procedure" option. All I get is : 1- Use SQL statment and the other 2 are disabled: create a new stored procedure and use existing stored procedure Which .NET data provider are you using If it's System.Data.OracleClient, the query configuration wizard does not support generating a TableAdapter from a stored procedure. In that case, you can work around the issue by using a dummy dynamic SQL command (e.g. using text "SELECT * FROM DUAL"), then change the CommandType to StoredProcedure, set CommandText to target stored procedure name and fill the parameters collection (if there are parameters i ...Show All
Windows Live Developer Forums WLM goes unresponsive apon sign in
I've been using WLM for months and months now with no problem at all. But lately everytime I sign in, the program locks up most of the time, and if not it spends a very long period being unresponsive before suddenly showing all online contacts as having just signed in and then giving me control of the program as normal. I have tried uninstalling and reinstalling, and the same thing also happens with MSN 7.5. Any ideas why The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots. If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support is avail ...Show All
.NET Development Modifying the Packet information
Hi.. Is there anyway that i can modify the header of the packet i send using sockets Socket.Send(byte[] data); i need to add an indentifyer to each packet i send from the server to the clients.. how can i do that i also read somewhere that setting the socket type to Raw and adjusting the header will help but i couldn't figure out how any ideas Thanks. Osama Tamimi Hello Osama, If you are writing this post in refernce to the Last post About Video........ So I think You don't need to change Tcp Headers all you need to do it to format your messages in such a way that it should carry some informaiton about Message Sender, That's it. Best Regards, Rizwan aka RizwanSharp ...Show All
Visual C# foreach in C#
Hi, I use C# in ASP.NET . 1. What is "foreach" and how can I use it 2.How can I have a collection of controls that are in a web page and use it bye foreach is a loop to iterate through some collection or arrays just like we do with for, do/while and while loops what foreach provides us is the safety of not getting out of range when iterating throgh some collection. The other things about foreach loop as compare to other loops is that it provides readonly access to objects accessed through it. When thinking about the proformance point of view foreach is not as good as other loops in its efficiency. I hope this will help. Best Regards, Rizwan aka RizwanSharp ...Show All
.NET Development Call client's object method/property from remote object
Here's the scenario: - a client apps (client.exe) and a server apps (server.exe) which will run on separate AppDomain - the server host a WellKnownServiceType called MyServerObject using SingleCall mode. - the client have an instance of MyClientObject (reside on client's AppDomain) - then, the client will remotely call MyServerObject.SomeMethod() The question: - How I can modify some value inside MyClientObject (which reside on client's AppDomain) from MyServerObject which reside on the server's AppDomain I tried to pass MyClientObject as a parameter to the MyServerObject.SomeMethod(MyClientObject obj), but it don't seems to work either. Here's the code snippet (simplified version): server.exe: ChannelServices.Regist ...Show All
Visual Studio Express Editions Measuring CPU Util
Hello, I'm working on a small sample. I want it to run in the background. I want it to work only when the machine is idle: * If the cpu utilization is less than X then start work. * If the cpu utilizatioin is above X then stop work and wait. I have 2 questions: 1. How do I find out the CPU utilization. 2. How can I make sure that the CPU utilizatioin is the Net Utilization What I mean is that I don't want to consider my own application's CPU utilization: {Total Utilization - MyApp Utilization} Thanks in advance! Houman Check this thread for code. Beware that you need to make the time between calls to NextValue() long enough (>= 1 sec) to get smooth readings, use a timer. ...Show All
Visual Studio Express Editions why imagelist errors with this?
i keep getting compile errors with this code but why pb.Image = ImageList1.Images(0) Label1.Text = "Gettin ready for the ball...pretty isn't she! " If pb.Image Is ImageList1.Images(0) Then pb.Image = ImageList1.Images(1) Label1.Text = "Bad Gyal forward!" ElseIf pb.Image Is ImageList1.Images(1) Then pb.Image = ImageList1.Images(2) Label1.Text = "Nathan's fave..." ElseIf pb.Image Is ImageList1.Images(2) Then pb.Image = ImageList1.Images(3) ElseIf pb.Image Is ImageList1.Images(3) Then MsgBox("This boi luvs u girl!.x.x.x.") Else Label1.Text = "" End If ive tried everything including with no imagelist: If pb.Image Is ...Show All
Visual Studio 2008 (Pre-release) Page Height and Width - Newbie Question
Hello, I am trying to set the background of an entire XBAP page. I want the page to be the size of the entire window and the background to fill this. I thought this would be easy, but there must be something I'm overlooking. After all, as a developer, I'm just a pawn ( http://www.computerworld.com/action/article.do command=viewArticleBasic&articleId=9007527 ) Thanks, Alan Normally that behavior should come up b default with no effort from your side. Just set grid as a contents for your window, like: Grid g = new Grid(); g.Background = Brushes.Blue; Window.Contents = g; ...Show All
Visual Studio Tools for Office Word 2002 Resources
Hi, Does anyone know any good resources for Word 2002 development I'm guessing that I can't use VSTO if I'm using 2002 or can I Thanks in advance, M no, you can't use VSTO... Other than that, you can automate Word 2002 pretty much the same way as Word 2003 (except for things that were introduced in the later version). That means, any information you see about working with Word 2003 will basically be the same for Word 2002. For questions about how to work with Word, in detail, I recommend one of the Word newsgroups. For automating Word using a .NET language, ask in an office.developer newsgroup. You'll find links to these groups/interfaces in the Please Read First message at the top of this for ...Show All
.NET Development Find attributes in a XML file
I would like to find in a XML file all the attributes with the same attribute name. I have used the following code, but It doesn’t work. The code compiles but does not print anything. Can somebody tell me why it’s not working and give me something else I can use. Thank you. while (reader.Read()) { if (reader.get_NodeType() == XmlNodeType .Element) { while (reader.MoveToNextAttribute()) { if (reader.get_Name() == "categorie" ) { Console .WriteLine( "Categorie= " + reader.get_Value()); } } } } No, it’s not working. The problem is with the following line. I have several attributes with the name categorie, but it doesn’t work. if ...Show All
Visual Basic VB6 Image control in VB2005 used as feedback device in a picture
In VB6 I used Image controls to give visible feedback when the mouse moves over a 'sensitive' area in a picture: set the borderstyle to fixedsingle and set it back to none when it's outside. I am looking for a simple equivalent in VB2005. VB6 Image controls are transparent, but anything I can find in VB2005 in the form of (user-) controls is opaque (right ) and requires a lot of hassle with the underlying image. So the functionality I am looking for is to let the user know where on a picture he can click, for further info and whatever. Without ruining the picture (a bitmap in a picturebox on a panel). Should be easy, but can't find any help in the help. Help! I've read a lot in these forums about th ...Show All
.NET Development Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561
Good day to you, Lets see if I can make myself clear: (not very good english) I have a WebService (wsCustomerSurvey). I'm developing a WinApplication that uses the wsCustomerSurvey WebService. Everything was working ok, one method of the wsCustomerSurvey returns an Object (Client in xml) With that object I was populating some controls in a Form. But then I needed to change a property (from integer to string) of the ClientObject in the wsCustomerSurvey, so I did and then rebuild and publish the WebService. But when I run my winapp again and call the wsCustomerSurvey Dim ws As New wsCustomerSurvey.Service Dim c As New wsCustomerSurvey.Cliente c = ws.BuscarCliente(txtTelefono.Text) I ...Show All
