U m A i R's Q&A profile
Commerce Server Problem with CS2007 Catalog Manager
I'm currently working on a project with starter site. After the installation I don't have performed SampleDataImport.exe command. Now When I execute"site connection" to use the CatalogWebservice I don't receive an error but I not be able to create a new catalog with Catalog Manager because all command in submenu "New" are disabled. For the installation I have followed the original installation guide and if I execute SampleDataImport.exe command I have no problem to create new catalog or modify the "adventure works" catalog. Does anyone know the solution Thanks, F.T Can you invoke a method on the web service in a browser and see what error you get If ...Show All
Visual C# Reinstall creates multiple entries in Add/Remove Programs
Hi, I have an app that I have compiled several times to an installation program. In VS2005 I have DetectNewerInstalledVersion = true and RemovePreviousVersions = true. Each time I compile I increase the version slightly so I can run the setup without error, but when I do all these things, after installing different upgrades several times I see new entries into Add/Remove Programs. Is there something I can do in Visual Studio to correct this Mario, You are right, it is completely counterintuitive!! I have a VS2003 WinForms app for which I am providing constantly newer versions to the folks who are testing it for me. I want the installation to be simple: Just one the new MSI file and have it install over top of the old installation. To ...Show All
Visual Studio Express Editions timer coding
hello I basically need to say.. If time is 2 am then run X PROGRAM thanks You can do this programmatically and I'll write something up for. However the XP task scheduler will do this in a very sophicated way with no code. Start | Programs | Accessories | System Tools | Task Scheduler I'll go to work on an example for you though. ...Show All
Visual C++ Strange Compiler Error!!!!!!!!
Hello, I have recently begun programming in DirectX. I am compiling a single file(.cpp), that requires nothing but a link to DirectX in Visual Studio 2005 Professional (Which I own). I have linked everything to the DirectX SDK files, but I receive the following errors. error C2065: 'index' : undeclared identifier error C2228: left of '.x' must have class/struct/union error C2228: left of '.y' must have class/struct/union These seem familiar with "C" style errors, but I'm using C++. I might have the compiler settings wrong, so that it could think that it was C, not C++, as .x, and .y is straight C++ so somethign is wrong here, there is nothing wrong with the code, as it is from a book and have given it to other ...Show All
SQL Server sp_issues
hi i have the following sp. i want to be able to create a view from the sp that will store the data that can be retrieved with the select statement my sp returns me. if the table exists, it should be dropped i suppose, because columns may vary. now i also want that enough info be stored to retrieve information again from the view, that i can map the records back to their original form how do i set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo] . [sp_DetailedBill_byPono] @payment_or_bill nvarchar ( 2 ), @pono nvarchar ( 25 ) AS BEGIN SET NOCOUNT ON ; DECLARE @fieldname varchar ( 10 ) DECLARE @stmt varchar ( 4000 ) DECLARE Fields CURSOR FOR SELECT A ...Show All
Visual Studio Express Editions Change properties from other forms
Topic says it all ... lets say i got x2 form ..and in form1 i got ritchtextbox how i change its txt or any other properties from from2 or other forms ... e.x in vb i used to do Form1.TextBox.text = ("w/e you want") ok. So adjust this to your needs: Form1 has a RichTextBox control for example. in form1, we create this property: public string TheRichTextBoxText { get { return this.theRichTextBox.Text; } set { this.theRichTextBox.Text = value; } } this is a public property which any other class can access if they have a reference to this form/class. By default all controls generally, and variables, are private meaning no one from the "ou ...Show All
Windows Forms Drag&Drop a pictureBox
Hi there everyone, I am trying to drag a pictureBox. Here is the code for my pictureBox MouseDown event : void onMouseDown(object sender, MouseEventArgs e) { if (((Kart)((PictureBox)sender).Tag).KartAc k) { if (e.Button == MouseButtons.Left) ((PictureBox)sender).DoDragDrop(sender, DragDropEffects.All); } } While I put the sender object (in this case my pictureBox) into the DragEventArgs' Data property, I expect to retrieve it again anywhere needed. Have a look to the DragOver event I defined for my form : private void onDragOver(object sender, DragEventArgs e) { if (e.KeyState == 1) { ((PictureBox)e.Data.GetData(DataFormats.Serializable)).Location = new Point(e.X - this.Location.X, e.Y - this.Location.Y); ...Show All
Visual Basic Error while using Installutil for installing windows service application.
I new to .net My project involves developing a windows service application using VB .NET. I have installed the service successfuly on the first attempt using the installutil provided by the frame work. When i uninstalled the application the it gave me the following result. System.ComponentModel.Win32Exception: The specified service does not exist as an installed service An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalle d after the uninstall is complete. The uninstall has completed. When i tried to install the app again it gave me the following error An exception occurred during the Install phase. System.ComponentMod ...Show All
.NET Development & and $ symbols in xml causes validation to fail
Hi, i have a xml file with a number of elements in it. I am using xsd and XmlValidatingReader. I have fields that contain text data. These fileds all work fine except if the users enter & or dollar signs. To get around this i specified a regex pattern in the xsd but this makes no difference.The encoding is UTF-8. The validation fails. Any ideas would be really welcome this is the element <ethnicCopy> & ethnic </ethnicCopy> the datatype i specified in the xsd is <xs:simpleType name="EthnicDataType"> <xs:restriction base="xs:string"> <xs:maxLength value="2000" /> <xs:pattern value="^(.*)$" /> </xs:restriction> </xs:simpleType& ...Show All
Microsoft ISV Community Center Forums Questions on Excel.VBA -> Range.End()
Hello guys, I am facing some bottleneck about moving a Range object in a sheet. I am using RangeObj.Offset(0, 1) to move my RangeObj to right, but it is not the same as actually using the keyboard arrows to move a cell. And I am using RangeObj.End(xlToRight) to move my RangeObj to End-Right. The thing is that RangeObj.End(xlToRight) will skip all the hidden columns. I wish to stop in a hidden column when applicable. Anyway, I am trying to understand how everything works. Which function is used when I press arrows on keyboard to move the current selection How do they implement the functions to skip hidden cells How do I implement function differently to select hidden cells instead of skipping them I can do the slow way ...Show All
Windows Forms using button control to navigate between textboxes
Hello, I am designing a touchscreen app and am really struggling with the control navigation. I have 5 textboxes from top to bottom and I have a Button labelled "UP" and a button labelled "DOWN". What I am trying to do is when the user pushes the "DOWN" button the focus of the control will go the texbox below it, and the same when the "UP" button is pushed. So if the user keepes pushing "DOWN" the focus will move through the textboxes and stop at the bottom. any help appreciated. Regards Peter You more than likely have a problem keep track which control has the focus. As soon as the user clicks the button, you've lost track. T ...Show All
Windows Forms saving the contents of richtext box to an xml file with formating
hi there, i am wondering how can we save the conent of rich textbox to an xml file. i have many richtextboxes but i need to save all those to one file. thanks prasanth Try saving the richtextboxes rtf property in the xml file. Imports System.Xml Public Class Form1 Private Sub Form1_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load RichTextBox1.ForeColor = Color.Red End Sub Private Sub btnLoad_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles btnLoad.Click RichTextBox1.ForeColor = Color.Black Using reader As XmlReader = XmlReader.Create("test.xml") ' Parse the XML document. ReadString ...Show All
Visual Basic Arabic Printing - urgently need solution ?
I have developed application in Visual basic 6.0 which supports English and Arabic languages. In textbox , Arabic font display properly.While creating report in Arabic language, when I am sending Arabic text from vb application to word application, in word document it shows junk characters. I used the word document object for creating report (i.e. sending text form vb application to word application) While my machine (xp Os) supporting Multilanguage futures , i can write in word document using Arabic font directly. kindly help , i need solution at earliest..... i think u should set the text format before sending the text to word. try to debug your application and see if in the watch menu u can see the characters as junk or a ...Show All
Visual Studio Express Editions Filtering
Hello I'm using VB 2005 pro. I made a little form with a dataviewgrid, textbox and a button. Now when I press the button, the program searches into the bindingsource and filter out what I entered in the textbox. This is the code: (it works PERFECT) Me .ContactBindingSource.Filter = String .Format( "FirstName , Me .TxtSearch.Text) Now when I filter out the database, I have to write the name completely: e.g.: Peter I want to make something that when I enter the first letter: e.g. P, the filter,filters all the names who begins with the letter P. Marnik Thank you in advance Marnik wrote: I want to make something that when I enter the first letter: e.g. P, the filter,filters all the names who begins ...Show All
Visual Studio Team System # Bytes in All Heaps performance counter
Hi, Do I understand correctly that # Bytes in All Heaps performance counter (.Net CLR Memory) is the actual amount of memory in bytes being used by the application being tested Thank you. ...Show All
