Jraven's Q&A profile
Windows Forms ComboBox and Binding Context Problem
I have 2 group box Buy and Sell on a form. There is an account combo box in both group boxes bound to same data source using DataSource, DisplayMember and ValueMember. Problem is binding context is causing the value in both to change when I change the value in one. Is there any way around this other than adding the list members manually   ...Show All
Visual Studio Team System Problem with source control, web projects and the bin directory
Hi I have a problem with web projects and source control. It appears that the bin directory is automatically added to source control. This is causes a problem whenever anyone compiles the solution as the same binaries are attempted to check in and of course someone has already checked out and locked the binary. I assume if a change is made to a binary it is automatically locked. Unfortunately even though I have deleted the bin directory from source control whenever the solution is compiled it tries to add the binary to source control again. Does anyone have any suggestions on how I can get around this. Cheers Brett The foll ...Show All
Visual Studio 2008 (Pre-release) Parser Error Message: The unknown directive 'Service' is specified
Hi I am new to WCF and I am trying to get a simple sample working. I compiled the code in the command line as I kept getting all sorts of errors when opening VS2005. Anyway it compiled ok but when I go to run the service in the browser I get this following error Parser Error Message: The unknown directive 'Service' is specified. my service file contains. <%@ Service language=c# Debug="true" class="TemperatureService"%> I would really appreciate any help on this as I have been at this for hours on end and seem to be getting no where. Thanks Lisa The biggest cha ...Show All
Windows Search Technologies Problem with WDS Filter
Hi - I recently upgraded to the most recent version of WDS (2.6.5 ) and Windows Live toolbar. Maybe not a good thing to do at once, but I now get the following error message literally dozens of times a day: " Windows Desktop Search Filter has encountered a problem and needs to close. " I select the "Send Error Report" button (Microsoft should have received a few hundred from me by now) and continue with what I'm doing. I notice that it happens only after I start Outlook 2003. If I leave my computer alone (eg. not start Outlook), it indexes quietly in the background without a problem. I haven't noticed whether it occ ...Show All
Visual Basic Convert SVG to image (PNG or else)
Hi, Is there a way/library to convert a file in SVG format to PNG I know about ImageMagickObject (COM object), but it's SVG conversion feature is still in development (and not doing the job). Inkscape command line does the job well, but the end users would have to first install it on their machine in order for my program to work... Which is not very desirable. Any ideas neilsanner You can use the batik svg toolkit. We successfully use this to perform a server side conversion. You need to install java. We are initiating the process from c# using System.Diagnostics. Process .Start Hope this ...Show All
.NET Development ConnectionString
Hello, I have a connection string in my config file, that I use to connect to SQL server. But it requires the password. How can I add this sensitive data to the connection string in my application. Thank you. Hi, Try using the enterprise libraries. There is an dataaccess application block that you can configure using the Ent.Lib GUI and encrypt the password. Try reading this link: http://www.gotdotnet.com/codegallery/codegallery.aspx id=295a464a-6072-4e25-94e2-91be63527327 Regards, ...Show All
Smart Device Development how can i play a sound file ?
hello . how can i let my program on my pocket pc play any sound file wav , mp3 , wma i tried every thing , searching in msdn ... the system.media is not found . also microsoft.devices.audio and my.computer.devices.audio is not found .. so , what's the solution .. regards ,, You can use MP object model via COM interop in NETCF V2 (or CFCOM in NETCF V1). http://www.businessanyplace.net/ p=cfcommedia ...Show All
Visual Studio Express Editions Speed of binary parsing
Hi, I'm just getting started with c#, but the IDE and .net have made it quite easy so far. What I'm playing with right now is MPEG2 transport stream parsing. This is what I have: FileStream fs = new FileStream("C:\\Documents and Settings\\Administrator\\Desktop\\New Folder\\nun.mpg", FileMode.Open, FileAccess.Read); FileStream fsw = new FileStream("parsed.mpg", FileMode.OpenOrCreate, FileAccess.Write); byte[] payload = new byte[184]; & ...Show All
Visual Studio Memory leaks in the automation?
I'm using the automation to build up screens in visual studio using vb.net. After building 800 some screens (all in the same project mind you) the machine gets dog slow. Well upon looking at it, its using almost 1GB of RAM and the machine only has 512MB physically. Thats fine, but 1GB of RAM used seems excessive. I'm making sure to close the form after I created it. (my first attempt didnt do that and caused the system to run out of window handles. :) Generally, I would say that there is something not being freed and we have a classic memory leak. Given that I'm using a .net language however, I dont really have any control of the memory, so ...Show All
SQL Server sql mobile question
Hi friends, sorry for interposting but my question was left unanswered in another group. here's the question: The execution of follwing query against sql mobile DB goes fine in SQL Server Management Studio SELECT c.contactID FROM contacts c LEFT OUTER JOIN contactNotes cn ON cn.contactID = c.contactID but when I'm trying to execute it in Visual Studion, it transforms the query into: SELECT c.contactID FROM { oj contacts c LEFT OUTER JOIN contactNotes cn ON cn.contactID = c.contactID } and gives the following error message: SQL Execution Error. Error source: SQL Server Mobile Edition ADO.NET Data Provider Error Message: Ther ...Show All
.NET Development directshow.net
i am using this class lib for video capture but has anyone worked on this....who can tell me how to avoid a dialog box that comes just before u start capturing and set value programmatically. check here for more info thx... ...Show All
Visual Studio Team System Backup you data with Team Foundation Server Beta 3
Since the documentation looks to be outdated: What are the steps to take to backup all the data within TFS3. It should be a backup of all tables (including SharePoint Services and Reporting Serves data) from SQL Server and a backup of Windows SharePoint Services. Is that it Are the attachements now stored within the database Thanks, Neno Yes, all of the mutable data is now within the database. So backing up TFS is just backing up all of the SQL databases on the data tier. Our admin and operations guide will have details on how to do that but it's pretty straight forward. ...Show All
Visual Studio Team System Again Load Test - actually Multi User test
Hi I am not a developer therefore I am trying to get everything I can, without adding lines to the code. Let's see if it is possible. :) I've read the blogs: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=122964&SiteID=1 and http://forums.microsoft.com/msdn/showpost.aspx postid=118191&siteid=1 but still there is something that I don't understand. Therefore, I restart with basic questions: Can I use this tool to run a multiuser test and not a Load test What's the difference The difference is that I need to know exactly when a test starts, when it ends, and control the number of times to make ...Show All
.NET Development Accessdatasource query builder error
Hi, When I hit the query builder button in de configure data source window of the accessdatasource control ik get the following error message : "object reference not set to an instance of an object". I use VS 2005 with sql express. Someone got an idea I have solved it myself by reparing MS Access. Probably the MDAC adapter was corrupted. Good luck! ...Show All
.NET Development Random exclamation marks in email body (System.Web.Mail)
I am getting random exclamation marks placed in the body of emails generated using System.Web.Mail. (I am using the html mail format.) I see that others have had this issue on other sites, but I don't see any resolution. I had to l oop the string, and find the last whitespace before the 72nd character, and insert a CrLf. yuck! ...Show All
