cepe's Q&A profile
Windows Forms ClickOnce via UNC Passing Parmeters in the command line
Hello to All, Has any successfully launched a ClickOnce winform application that accepts command line arguments from a UNC path The application I am deploying needs to determine environment (Test, UAT, Production) and specific action information. I have written a simple application that can retrieve command line parameters from the website activation. http://127.0.01/deploy/clickoncetest.application environment=test&ftpjob=job1 Any insight would be greatly appreciated. Steven Sameer, Thank You for the advice. The use of the system.environment class did not work for me. I attempte ...Show All
Visual Studio Tools for Office storing a variable
i need to store one value in a counter variable in vsto excel appln which cannot be stored in database.when i close the appln and open it again it should hold the value(persist) how can i implement this in excel application If you declare the counter as a public member on your customization class and mark it with the Cached attribute then VSTO will save this value along with the document and reload it next time the document is opened: [Cached] public int _myCounter = 0; ... _myCounter++; More details can be found here: http://msdn2.microsoft.com/en-us/library/75akte27(vs.80).aspx Tha ...Show All
Visual Studio Report project for reporting service local report
Can i create a report project to store all of the embedded reports I tried a library project, could not make it work. It says cannot find the report definition. ...Show All
Windows Forms Binding Textboxs to SQLDatabase
Any help would be greatly appreciated: First I am VERY new to VS. I have had some VB programming experience in the past but I am very much a novice so I truly apologize in advance if this question is elementary. I have created a new "Web Form" with Many Textbox fields that allow the users to input information into it. I would like to populate this information into a SQLdata base with a Button_Click. I have successfully created a SQL Database/Connection within my App .....App_Data/CustomerInfo.mdf. There is currently NO data in the database but I have setup a table (CustomerTable) with associated catagories. Each one r ...Show All
Visual Studio Express Editions Web Express
Ok, another problem. I am attempting to use web express. I do the following: 1. Create a WebSite (Using XP Pro IIS5.5) 2. Create the database and tables 3. Create a web page with only the dataset from one of the tables created in 2. 4. Run 5. Get indication that ASPNET user cannot open the database file. I have read many version of what to do, and nothing I have done will fix this. I have 30 years experience with asp.net and dot.net v1.1 but this leaves me cold. I am using the express versions which are supposed to be for HOBBY but I cannot see how someone with no experience could use this. Any ideas, help Th ...Show All
Visual Studio Excluding Web Application files from Source Safe
Hi! The Context: Perhaps I should post this one in the ASP.NET Forums but it about VSS also so... here it is: In VS2005 all files under the root folder of a web application are considered part of the application, which means that there is no 'Exclude from Project' option like Windows Application Projects. This is a good thing for many reasons except this one: All files are automatically added in Source Safe. The question: Is possible to exclude some files from being added in Source Safe For instance I would like to exclude all files under BIN folder and some config files that are different per-developer. Does not help : ...Show All
Visual Studio 2008 (Pre-release) Embedded UI Elements in RichTextBox - Disabled?
I am trying to embed user interface elements inside a RichTextBox control. In particular, I would like to embed a RichTextBox inside a RichTextBox. I can't seem to get the embedded control to be enabled for editing (or clicking in the case of a button). Setting IsEnabled = "True" in the XAML doesn't do the trick either. What should I be doing Is this currently supported e.g the embedded button with the "Click Me!" caption in the XAML sample below is not click-able: <Window x:Class="WindowsApplication1.Window1" xmlns="http://schemas.mi ...Show All
Visual Studio Team System Database scripts/ Projects in VSTS
We are using TFS as our SCM. We have ORacle database as well as Sql Server. Need to know how to create aproject for ORacle database projetc so that we can kepp all our scripts, stored proc etc.. in source control. Let me know Thanks If there is an Oracle project implementation available for VS, you should be able to use it and bind the project to TFS version control. Buck ...Show All
Visual Studio 2008 (Pre-release) combobox weirdness, DisplayMemberPath gives databinding errors
I'm trying to show a list of objects in a combobox. My xaml looks like this: < ComboBox ItemsSource = " {Binding RelativeSource=/TemplatedParent/TemplatedParent, Path=RefSource} " SelectedItem = " {Binding Path=Content, RelativeSource=/TemplatedParent/TemplatedParent} " DisplayMemberPath = " Omschrijving " /> It took some time to get to this obvious xaml, because it seems that the whole thing won't work if I do not have a displaymemberpath (so just showing the type.ToString() or having a template that will determine how the items should be represented: the selecteditem will be set on the obj ...Show All
Windows Forms How to remove controls at runtime?
I have serveral user controls to show alternatively in my main form.I want to create the control dynamically at runtime and remove it when another should be shown . But after I remove the control from the main form, the main form lost the focus and I couldn't get it anymore( The title bar of the main form become grey. The menuitem of mai ...Show All
.NET Development is there any kind of Boolean type SQL server
Hi, I have a boolean check property of my checkboxes in VB.NET. how can I send that value to SQL server, is there a boolean type in SQL server when I m designing the table. Thanks but if i send the boolean type directly it s gonna give me an error, right, i remember it did give me error thanks amigo ...Show All
Software Development for Windows Vista Vista (5308) and broadcom nextreme Gigabit Card
I am running a Hp nc6120 with a built in broadcom nextreme gigabit card. I am having a big problem with it. It can see the internet fine. However no local resources are present and also no domain browsing is possible ( although the machine was able to 'join' the domain and can be somewhat managed). I've tried disabling the firewall, using XP drivers (old and newer), no matter what I've tried the network can't be viewed. I don't even see the machine itself (anymore) at one point at least it and the local machines on the same segment showed up but they are gone now. Playing with ...Show All
SQL Server I want make table 4 like this one in SQL server 2005
I Have 3 table Like this: Table 1: Name = Tbl_Mian_code M_Code Master_Code Master_Name Main_Type Main_Gruop Main_Txt 1001 1001 Bank 01 01 1002 1002 Cash 01 02 1003 1003 Good's 02 01 Table 2: Name = Tbl_Mian_code Id_2 Main_Code Sub_Code Master_Code Master_Name Sub_Txt 1 1001 0001 1001 0001 Bank_Visa 4 1001 0002 1001 0002 Bank_234 5 1002 0001 1002 0001 Cash_1 6 1002 0002 1002 0002 Cash_2 7 1003 0001 1003 0001 Nokia 9 ...Show All
Windows Forms RowUpdated event not firing
Hello everyone, I am stuck on this one! Here are the basics: DataAdapter daPeriods = new SqlDataAdapter(); daPeriods.ContinueUpdateOnError = true; daPeriods.RowUpdated += new SqlRowUpdatedEventHandler(daPeriods_RowUpdated) daPeriods_RowUpdated(object sender, SqlRowUpdatedEventArguments e) { //Do stuff } private void Periods_Save_Click(object sender, SystemEventArgs e) { daPeriods.Update(dsAccounts,"dtPeriods") } The user mak ...Show All
SQL Server Can't install SSIS on an XP machine
Hi all, Why would I not be able to install SSIS on an XP machine The option is grayed out. As a matter of fact, all the options are grayed out, save for the client tools. I'm using the September CTP. Thanks in advance, Anthony Rizzo, MCSE, MCDBA The Enterprise Edition of SQL Server 2005 requires "Server" edition of OS (Windows 2000 or 2003 Server) for SQL/AS/RS/IS, and only allows to install Workstation Components on XP. All other editions fully support XP. I suggest downloading Developer edition if you need it on XP machine. ...Show All
