YWLMB's Q&A profile
Visual C# C# Connection to PostgreSQL
I want to connect to PostgreSQL but how I have Microsoft Visual Studio .NET 2005 and PostgreSQL 8.2 How can I connect both of them Hi, you will need a data provider that you can use to connect to the postgreSQL database, see: http://pgfoundry.org/projects/npgsql Mark. ...Show All
Visual Studio 2008 (Pre-release) Get the Selected item in w WrapPanel
How do I get the currently selected item or the index of the currently selected item in a wrappanel This seems like a logical thing to be trying to do. Shane you can use listbox and change the itemspanel this post has a sample http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=852701&SiteID=1 ...Show All
Visual C# Code alignment lost
I prefer to have my code aligned in such a way that a straight-forward edge detection results. For example (from a .Designer.cs file): private System.Windows.Forms. Label prefix_LAB; private System.Windows.Forms. TextBox prefix_TBX; private System.Windows.Forms. Button retrieve_BTN; private System.Windows.Forms. Label user_LAB; private System.Windows.Forms. TextBox user_TBX; However, if I cut and paste the code, I obtain private System.Windows.Forms. Label prefix_LAB; private System.Windows.Forms. TextBox prefix_TBX; private System.Windows.Forms. Button retrieve_BTN; private System.Windows.Forms. Label user_LAB; private System.Windows.Forms. TextBox user_TBX; Problem: I want to keep the automat ...Show All
SQL Server Reporting Services custom authentication and web reportviewer - familiar question
This is a subject that has been brought up before but I have not seen a definitive answer/solution. We have implemented a custom authentication extension (forms authentication) for reporting services and it has been working just fine under "normal" conditions; "normal" being users logging in, viewing reports, and then moving on. Recently some reports were created by our report group and they contain Dundas gauge controls for "dashboard" style reports. These reports are meant to be up all day and they post back every few seconds because the data they present is mission critical. This of course exposed the inability of the reportviewer control to stay in the context of Report Manager when it comes to the cookie ...Show All
.NET Development Read Write multi string into - from xml file
Hi, i have an xml file which i read from and write to for example: <items> <item>MYVALUE</item> </items> now the things is that i want to keep in MYVALUE a couple of null terminated strings,but i dont want to keep them like this: <item>string 1</item> <item>string 2</item> i want them all in one item element. string[] myStrs = { "str1","str2" } how to: 1. write a string array into xml file 2. read a string array from xml file Best Regards. Hi, The solution you are suggest is not good to me because i'v already had test it. let me explain suppose we have a byte array: byte[] bVal = { 1,2,3,4,5,6.....} <items> <item>1</item> <it ...Show All
SQL Server select values from multi-value parameter
Is it possible to pass values from UI to a multi-value parameter in a report and from this report, select values from this multi-value parameter to finally display data Thanks! Follow up question please. When I get values for a multi-value parameter from SP, values are displayed with checkbox on their leftside, thus, allowing me to select from values. But when I supply values from UI using ReportParameter[] class, values displayed in report do not have checkbox beside them, and thus, not allowing me to select from those. I'd like to display values with checkbox please. Thank you. ...Show All
Community Chat Free Online Visual Basic 2005 book
I have recently made my book free, sponsored by AdSense of course. The book is designed for non-programmers. After many hours of tweaking javascript I have finally completed most of the design of the page, so that it works with google and also so that there are no frames. If anyone would like to help with the book, ie: make it better, then feel free to contact me here or at the site. You can find the book link in my signature... Biche wrote: Any chances to get a pdf out of it Hmm. Perhaps. I'll think about it! It would be quite something converting it! ...Show All
Visual Studio Team System Team Foundation Client Source Control Explorer
Can the (lite) Team Foundation Client operate the checkout/add folder/add files functions of Team Foundation Version Control (TFVC) We might like to use TFVC for both our source code and related technical documentation created and managed by our developers and business analysts. When running within the Visual Studio 2005 IDE the TFVC source control explorer allows me to create new folders and add non-source files to version control and checkout/checkin versions. However the features to add new folders and files or checkout files for edit are disabled when the Beta 3 Team Foundation Client is run on a machine that does not have the full VS 2005 IDE . It does allow numerous other version control features such as ...Show All
Visual Studio Tools for Office Outlook 2003 Registry and Rules
I am trying to automatically setup a rule in Outlook 2003 using C++ code. Basically I have a program that sets a user up with a new email account by setting the registry values. I also want to create a folder in the user inbox to put the email from this new account...I have looked everywhere on how to do this...does anyone have any ideas Thanks Mary So are you saying that there is no way to programmatically set an account to receive it's mail in a programmatically created folder Can I at least programatically create the folder...and then give instructions on how to setup the rule By the way...I just bought your book ( Microsoft Outlook Programming, Jumpstart for Administrators, Developers, and Power ...Show All
Visual Studio Visual Studio 2005 and VSS integration issues
Are there any known issues with Visual Studio 2005 integrating with VSS We have several developers upgraded to Visual Studio 2005 but we continue to use VSS for source control. But we have been having problems with files opened in Visual Studio which are preventing VSS from performing basic operations like applying a label. Has anyone heard of any issues like this Is there anything we can do to resolve this problem Maggie, VS 2005 and VSS are designed to work together. I assume you are managing your projects and solutions from Visual Studio using the source control integration. To track this down, I need more details about the problem you are seeing. Are you trying to apply a label from ...Show All
Visual Studio Express Editions Receiving WMI configuration error. SQL Server System Configuration cannot be executed due to that
Hello PPl, I am getting this error again and again. The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine mymachine Error:2147749896 (0x80041008). I uninstall all version of Visual Studio 2005 just kept Microsoft .NET Framework 2.0. Still I am getting this error when I am running SQLEXPR.exe to install the SQL Server 2005 Express. PLEASE HELP! Thank you. I have just run that script and then launched the SQLEXPR_ADV.EXE again, and I still receive this error with the usual WMI configuration message: Error: 70346 (0x112ca). Windows XP SP2 fully updated from Microsoft Updates. ...Show All
Visual Studio Can't find Class Designer
I have looked at the documentation but I can't find the Class Designer. I know that I need to add a Class Diagram to the project but I can't find a Class Diagram (in the templates) to add. I searched this forum and found Can't find Class Designer on IDE . I have tried the instructions in the documentation and that thread but I can't find a Class Diagram to add. We have VS Professional Edition installed. It is not a beta version. I did not install it so if it can be installed without the Class Designer then I would not have known that. Is that a possible explanation for why I can't find Class Designer When I try to add a Class Diagram to the project, I see templates only for VC. Is the Class Diagram template in a different Category ...Show All
SQL Server Unable to install SQl Server 2005 SP2 - Unexpected error
I am trying to install SQl Server 2005 SP2 but it was throwing an unexpected error when trying to install "setup support files". O/s: Windows Server 2003 SP1 Product: SQL Server 2005 Standard Edition Log file shows: +++++++++++++++++++ === Verbose logging started: 2/20/2007 16:05:42 Build type: SHIP UNICODE 3.01.4000.2435 Calling process: F:\SQL2005sp2\hotfix.exe === MSI (c) (74:68) [16:05:42:635]: Resetting cached policy values MSI (c) (74:68) [16:05:42:635]: Machine policy value 'Debug' is 0 MSI (c) (74:68) [16:05:42:635]: ******* RunEngine: ******* Product: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi ******* Action: ******* CommandLine: ********** MSI ...Show All
.NET Development Check availability of SQL Server in .Net
Hello I am writting a small Server Monitoring application, which will email and SMS if anything stops working. For example it will continually Ping the server to make sure it has a network connection, it will also check that it can connect to the SMTP server and Pop3 server, all of these i have done. I would now like to somehow ping/check a host to see if SQL server is visable on the host without knowing the Username and Password, as i dont want to actually connect to the database and run quirys, i just want to know that the SQL server is still there accepting connections. I want to acheive this without having the username and password if possible. e.g without using SqlConnection.Open("ConnectionString"); Im sure this is v ...Show All
Software Development for Windows Vista The workflow hosting environment does not have a persistence service
Hello everybody, I developed a simple sequential workflow class library app and added the WebServiceInput activity to recieve some parameters when invoked from a web service. I then used the "Publish as web service" option to create a web service for this workflow. I test it within VS 2005 by browsing the web service - everything works fine. I then publish this web service to a web site using the "Publish Web Site" option and then browse the asmx file and get this error: System.InvalidOperationException: The workflow hosting environment does not have a persistence service as required by an operation on the workflow instance "5ffabca3-4f18-4f9f-be31-a890c147c1df". at System.Workflow.Runtime.Workflo ...Show All
