blanc's Q&A profile
Visual Basic Operand Errors in Visual Studio 2005
I am trying to make a calculator when I go to do the * button, clear button or even the + button I get blue lines under the word Operand1 or if I type to go past that and type [Operator] it gives me blue lines under that word and says I cant go any futher cause it has a error. Anybody know what I am doing wrong :( Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click Operand1= TextBox1.Text() [Operator] = "*" TextBox1.Text = "" End Sub or Private Sub Button13_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button13.Click Operand1 = TextBox1.Text() [Operator] = "+" TextBox1.Text = "" End Su ...Show All
Visual Basic Is there any way to autoclick with the mouse?
Hi. It's me again. I was wondering, (and I'll probably get a simple answer that I could've figured out on my own.) is there any way to make the mouse move to a certain point on the screen, and then click by itself Thanks. hello i need to have my computer make autoclicks ( mouse click) without me actually at the computer. I want to be able to leave my computer and have my computer make mouse clicks in a program while I am away from the computer for a period of time. I am sort of familiar with a program called winscrape that recognizes buttons in a poker software a allows you to relate to those values in a way. I am not wanting to do this for a poker software but something similar. I need to know how to make ...Show All
Visual C++ How can I set the Application Icon in Visual Studio 2005
I am using Visual Studio 2005 Pro. I want to set the application icon for my Win32 exe. This is the icon that appears in the windows explorer next to the name of the application when it is viewed as a file. The logical place for this setting would seem to me to be to select the "solution" and then project properties and then look under Common Properties, but when I do this I see only a single entry "References" when has a bunch of empty reference lists and no obvious place to add an icon reference. I have examined I think every single property under the Configuration Properties for the solution and not found an entry for an application icon. I have already added 16x16 and 32x32 resources to the solution but cannot figur ...Show All
Architecture DotNet windows application data Layer Class Design
Hi All, I have a question.Is it a good practice to have separate data layer classes for insert,update and delete operations in dot net 2.0 windows applications Please throw some light on this. Appreciate if i could able to get the light at the earliest. Thanks&Regards, Arun Yes, its usually appropriate. If you are looking for a simple layer, look into the Enterprise Library. Go here . If you are looking for a data abstration layer that takes care of data manipulation for you, you'll probably have to build your own. It's not easy and often times, slow. Hope this helps. ...Show All
Visual C++ a sample program which use res protocol?
I need a sample program which use res protocol, I hope that one expert can give me one example which use res: protocol, I appreciate your help. Hello Re: a sample program which use res protocol As I have said before ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=986755&SiteID=1 , http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=986762&SiteID=1 ) such questions are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 For such issues please use the newsgroups at http://msdn.microsoft.com/newsgroups . OTP Thanks Damien ...Show All
.NET Development PInvoke issue
I've got a .NET exe that calls a plain, old DLL via PInvoke. The interaction works fine on computers that have VS 2005 installed on it. However, for computers that only have the v2.0 .NET runtime installed on it, I get an InvalidOperation exception thrown when I try to access the DLL. Anybody have any ideas why this is happening thx in advance, todd Are you using an existing DLL or do you build it using VS 2005 also If later, are you using the debug or retail version of the DLL ...Show All
Software Development for Windows Vista Can't create more then seven VMR9 renderes.
Hello, I have to create 16 preview panels on main window with images drawn from specific data. I am able to see 7 panels filled with data, but I get error: -2147220969 while doing hres = g_pCapture->RenderStream(0, 0, pSrcFilter, 0, g_pVmr). Is there any limit with number of VMR9 instance I need to display 16 previews of different data result. Regards, Peter The number of VMR9 renderers that can be created is directly related to the video card's ability to do so. Some cards can only do 2-3. We have created up to 16. Try a different video card if you require VMR9. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where is the download?
It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D It's just about 12:30 AM, my guess is you'll still have to wait several more hours, probably at least 8 and a half since the workday starts for most people in the US around 9 AM. Even then I don't expect to see it until later in the afternoon Pacific time. ...Show All
Visual Studio Tools for Office Some question about Content controls
Hi , everybodyl I have ContentControl (BuildingBlockGalery) and I want : 1) delete this control with all child controls(which pasted to it). 2) change child controls with other ContentControl (BuildingBlockGalery) (get all from current BuildingBlockGalery and put in other BuildingBlockGalery); How I can do this Hi Rus As this question concerns the Word object model, and has nothing to do with the VSTO technology, directly, please ask in the office.developer.automation newsgroup . When you ask, please elaborate on what you mean with (2). The question is unclear. ...Show All
Visual Basic DLL Creation
I want to create a DLL for editing HEX Data I want that if it is referenced for editing any bytes you need write this line: WriteB (File , Seek, Byte) File= Files to open with FileStream ( Imports Sytem.IO is necessary obviously) Seek= For moving the pointer in a offset Byte= Byte to write in the Offset Now if i want to edit a byte i need write this code Dim str As New FileStream(OpenFileDialog1.FileName, FileMode.Open, FileAccess.ReadWrite) str.Seek(&H18D, SeekOrigin.Begin) str.WriteByte(CByte("&H" & ComboBox3.Text)) And i want to create a Function in the DLL Imports System.IO Public Class Class1 ' Start Function Public Function Nome_funzione As CallType ......... ...Show All
SharePoint Products and Technologies Transaction with WSS 2007 object model in update operations
What is the best way to use transaction with WSS 2007 object model in update operations Example: Starting from a DocumentLibrary, we need to create folders, upload file, set contentTypes and update contentType properties. The requirement is to do that in transaction, supporting rollback scenario (undo all operations). Thanks in advance Marco I don't think this can be done with WSS 3.0 but we have written .NET compensating resource managers in the past for adding transaction behaviour to similar object models/APIs. Update: The answer is still "no" but I've added an additional explanation here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1624421&a ...Show All
Smart Device Development MIME Parser
Hi, Follow to 'PR_CE_MIME_TEXT' returned value, Is there any kind of a built-in MIME Parser under Win32 API Have a nice day, Asher There are no programmatically accessible MIME parsing components on Pocket PC. If you are interested in message body, a simplified rule is: Read all headers - lines of text followed by CRLF. Stop when you get an empty line. The rest is the message body. This is only true for purely text messages. To make sure the message is text, while reading the headers watch for one called "Content-Type". If this header value is multipart/alternative, then you have multipart body and need a decoder. Also, if you encounter a header Content-Transfer-Encoding: quoted-pr ...Show All
Visual Studio problem of using VS.net 2005
I just installed Visual Studio .net 2005 But it's failed to create any project because of the error 'the target property is reserved and cannot be modified'. Is anyone here ever known this error and have any solution Thanks ...Show All
Microsoft ISV Community Center Forums Solution for Getting from Cell to Cell
I have a table in my Word document (Table1). How do I move the insertion point to the last row of that table And, can this be done even if the insertion point is not currently located in the table Thank you. The following is better because it does not require the insertion point to be in the table: Dim oTable As Table Dim rngRow As Range Dim iRow As Integer Set oTable = ActiveDocument.Tables(1) iRow = oTable.Rows.Count Set rngRow = oTable.Rows(iRow).Range ActiveDocument.Tables(1).Rows(iRow).Select Selection.InsertRowsBelow Now I'm trying to figure out how to move from cell to cell. Ideas ...Show All
Visual Studio UK Installation
I am in the UK, and have installed Visual Studio 2005 plus the add-on for Business Intelligence (Reporting Services). This was done on a 'clean' machine, with the o/s (XP Prof) set-up as a UK machine, language, keyboard, region etc etc all UK. At no time during the install, was I prompted for a region selection, so I assumed it was detecting my locale internally. However this didn't happen. Now with the creation of new reports (.rdl files), the language option in the .rdl defaults to US. Worse still, when testing reports in Visual Studio's Report Viewer, any date I type gets swapped around as soon as I click run. i.e. if I want 27th Dec 2006, I have to deliberately type 12/27/2006, because at run time this will be swapped to 27/12 ...Show All
