Amir Steta's Q&A profile
Visual Basic How to I add the hex value "1A" to a string
I have an export format that requires the file to end with this 1A value. In notepad it looks like a rectangle on end but a hex editor show it as 1A. Thanks Dim a As String = Chr(&H1A) There are things to be aware of, however. I think you want to be aware of whether your strings are unicode or UTF8 and what is required. A unicode value will be x001A. You will want to do something else if you want a byt ...Show All
Visual J# using J# dll with ASP
Hi, I've been developing a product search that does queries and rankings with the database on the site. I got everything to work perfect on my test box, but I cannot seem to get it to run on the server. Even after I register it, I get Server object error 'ASP 0177 : 80070002' Server.CreateObject Failed It does this even with an incredibly simple J# object. Do I have to compile it on the server What all do I need on th ...Show All
Microsoft ISV Community Center Forums Excel VB problem
Hi, I am a new VB user and I need some help. I have a worksheet with a combo box that references a list of items on another worksheet. See my code: Private Sub ComboBox1_Change() Worksheets("Sheet1").Range("A11").Value = Me.ComboBox1.Column(0) Worksheets("Sheet1").Range("B11").Value = Me.ComboBox1.Column(1) Worksheets("Sheet1").Range("C11").Value = Me.ComboBox1.Column(2) ...Show All
Windows Forms Execute a C# or vb script in .net
Hello Everyone, I'm looking to create a processing engine that will accept script files (vbs or c#) and run the script. How would I go about loading a script and running it vb or c# would be good. Thanks! Microsoft.CSharp.Compil ...Show All
Visual Studio Can not find keycodev2.dll, or invalid keycode
When deploying a Windows app to our production server. I get the following error when trying to print "Can not find keycodev2.dll, or invalid keycode". I have tried adding the registration merge module to the program with no success. I even was going to try the solution from the crnet_keycodev2.pdf until I got the the part where it tells you to add the ASPNET user account. This server is in not connected to the internet ( ...Show All
Visual Studio Tools for Office I have a checkbox in my excel spreadsheet. How do I call it from the code?
I'm trying to add in a "save username and password" checkbox on my excel sheet, but can't seem to reference it from the code, so I can see if it's checked or not. I tried: chbxSaveUNPW.checked = false chbxSaveUNPW.value = 0 sheet2.chbxSaveUNPW.value = 0 The code doesn't recognize my checkbox. =( How do I reference an object on a sheet I don't want to run a macro when it's clicked, just want to see if it's checked or not. What is this object's ...Show All
.NET Development Copy of a collection
Hi, How do i make a copy of a collection. I know that you can copy it to an array.. but how would that help me in making a copy of the collection. Thanks tribal Hi Ronnie. Would this explicit method of cloning keep track of the data and the state (new,deleted, changed etc.) or will it do the same thing as Copy() that just does an acceptchanges()and then copies the object Mike ...Show All
SQL Server Transformation script last row
Hello, in an asynchronous transformation script, how can i know when the script reach the last input row That section was added in the 1st week of May...I would have expected it to make the June CTP but can't easily verify. -Doug ...Show All
Windows Forms ReportDocument.PrintToPrinter
I am trying to get a ReportDocument to be printed using print to PrintToPrinter I get the following errors when the code runs. The first I get if I use a Try - Catch statement the other I get with just the PrintToPrinter statement and ...Show All
Software Development for Windows Vista Setting a parameter to a custom activity
Hi! I developed a custom activity and I created the following property: public static DependencyProperty StickerProperty = System.Workflow.ComponentModel. DependencyProperty .Register( "Sticker" , typeof ( string ), typeof ( CorrectorActivity )); [ Description ( "This is the description which appears in the Property Browser" )] [ Category ( "This is the category which will be displayed in the P ...Show All
Visual Studio Team System Difference to past versions
Hi! Just a simple question. I need a comparisson between VS2005 and past Versions. Is there a link or a page with that info thank you Hi, In addition you could also take a look at the following informative video on MSDN TV: http://msdn.microsoft.com/msdntv/episode.aspx xml=episodes/en/20040219csharpdf/manifest.xml Regards, Vikram ...Show All
Visual Studio Express Editions BIG BUG in VB 2005
Hi, I thinked I turned crazy when I saw my programs working and then, some events diseappeared (combobox, listbox, ...). The fact is that my VB 2005 sometimes removes for itself the "handles ..." after a sub. For example, if I have: Private Sub Cbo_agent_SelectedIndexChanged( ByVal eventSender As System.Object, ByVal e As System.EventArgs) Handles Cbo_agent.SelectedIndexChanged I run or generate my project and then, I h ...Show All
Visual C++ windows.h not found...
WOW, I can't believe this information isn't easier to find. I downloaded and installed Visual C++ 2005 Express, and then downloaded and installed the Platform SDK SP2. NOTHING WORKS! The Directories are not found and there is no apparent way to set them. Apparently users have found a hack to make it work, but this is crazy. It seems like the first Microsoft person to install this would notice that it doesn't work an ...Show All
.NET Development compare datasets
hello all, i have 2 datasets. one is filled from remote sql server 2000 databse and the ohter is filled from the local sql server 2000 which is on my local computer. i want to see whether the dataset filled from remote database has some data that is not in the dataset filled from local database. if so, then update the data of remote database to the local database. please write to me soon, thanks in advance. Check following l ...Show All
Windows Forms In Tab Control->Lost XP-Style Look when Set DrawMode=OwnerDrawFixed
Hi, In Tab control, I have set property Drawmode=OwnerDrawFixed while Xp Style Look is removed in vs.net2005. I have tried to use Application.EnableVisualStyles but that doesn't change Look in Tab Control. I have used Skybound Component through its working fine. But my requirement is not used any third party control. so without use any third party i need to get the XP Style Look in Tab control. If anybody aware then please shares the code.... ...Show All
