Venu123321's Q&A profile
Visual C# Save array to settings in C#2.0
Hi Martin, Can you post the code where you initialize the "settings" variable That might give some clues about what could be wrong. Ok, well if I can't use the settings file, whats the best way to save an array of objects as a setting ...Show All
Windows Forms Save images in Database Or File
hi there , i am developing an application using VB.net which save some images for later use. I want to know which way is wiser(has more performance);to save images in database or in file thanks thanks chris. ...Show All
Visual Studio 2008 (Pre-release) How to load a resourcedictionary from xaml file
Hi, I have a resource file called skin.xaml. I am using the following code to create the ResouceDictionnary. ResourceDictionary res = new ResourceDictionary (); res.Source = new Uri( "StandardSkin.xaml" ); => parser error. Any suggestions thanks/chong I found the solution. using ( FileStream fs = new FileStream ( "StandardSkin.xaml" , FileMode .Open, FileAccess .Read)) { app.Resources = ( ResourceDictionary ) XamlReader .Load(fs); } chong ...Show All
.NET Development Datagrid with check box
hi I have created a datagrid with DatagridBoolcolumn as 1st item. How to write code for user interaction At present the user can select/deselect check box, but it wont reflect when user moves to another column.. Hope someone can help me Regards You have to handle the Checked event for the column and call the Update method on the DataAdater in that event so that the DataSet is commited to the Database ...Show All
Visual Studio Express Editions Ip Address and Computer Name in vb 2005 express ?
I asked a question on experts exchange here : http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_21604354.html And I have got a vb.net example for vb.net 2003 which is this : Imports System.Net Dim hostname As String = Dns.GetHostName() Dim ipaddress As String = CType(Dns.GetHostByName(hostname).AddressList.GetValue(0), IPAddress).ToString Console.WriteLine("Computer Name: " & hostname & " IP Address: " & ipaddress) However vb 2005 uses different functions such as GetHostEntry as apposed to GetHostByName etc and I also g ...Show All
Visual Basic How do I enter new data into a drop down combo box
I have a form for employees that is linked to an "Employees" table. The form has a combo box that is linked to a "Cities" table. The combo box has a list of cities that the user clicks. The corresponding integer value for the city is stored in the employees table. What if the list doesn't have the City that the user needs. Is there a way to enter a new City into the Combo box that will refresh the list and allow the user to then select the City form the list. Hi, I am thinking that you might add one item in combo box as "Add City" or "Other". When this option is selected then a form popup allows ...Show All
Software Development for Windows Vista January CTP - no Activities in the Toolbox
I've just installed Beta 2 of WWF that is included in the Jan CTP. When I open a new Sequential Workflow Library project, in the designer view for my workflow, there are only 7 Activities: Compensate,FaultHandler,Suspend,Termainate,Throw,TransactionScope,and SysnchronizationScope. Any ideas on what went wrong How to solve PS I installed in the order recommended by Jan CTP: winfx runtime, Winfx SDK, VS ext for Winfx, and VS Ext for WWF beta 2. Riley I found how to fix this, should anyone else run into the same issue. Tools->Choose Toolbox Items -> Activities -> Reset This added all t ...Show All
Visual Basic adventure works and 101 Sample files
hi All i have downloaded both of the above but can't seem to get any of the sample files to run in VB express 2005 which need the adventureworks_data db. does anyone know if it should work at all I succeded running the CreatingMasterDetails sample doing the next: 1) Using the DataBase Explorer (Open Table Definition), I have added the next two columns to Employee table: DepartmentID smallints Allownulls=true BaseRate money Allownulls=true 2) Using the DataBase Explorer upadate the colu ...Show All
Visual Studio Problem connecting Crystal Reports after password change
It seems a lot of people have been having similar issues to this so I'll try to be as precise as possible when explaining my problem. I am working on a web application, a simple "Log In, and select your report"..So I am working on Visual Studio 2005 Beta 2 and had absolutely no problem creating the reports or displaying them, that is, until the password I use to log into the database(via ODBC) expired. Once I reset this password none of the reports connect directly, they all display a login screen no matter what I do. It seems this password I had when creating the Reports somehow got hardcoded somewhere in the report itself because no matte ...Show All
Visual Studio Express Editions Error installing SQL Server 2005 Express
I'm having dificulty installing MS SQL Server 2005 EE onto my XP Pro Machine. I did have the VS2005 Beta2, but i think this was fully removed (Tried using Add/Remove Programs, but had to use Windows Install Cleanup in the end). I've downloaded the executable and whenever i run it i pass the system configuration check 100%. I continue to install using the default options, and the following components install correctly: MSXML6 SQL Setup Support Files SQL Native Client SQL VSS Writer However, the SQL server database services does not install, giving the following error message: TITLE: Microsoft SQL Server 2005 Setup ...Show All
Visual Studio 2008 (Pre-release) svg + xaml
Why can I only have 1 scalable vector graphic reference file saved with-in a xaml file and thats the only view and detail the glpyh/icon can have... if you scale-down a 256x256px graphic to like 16x16px it looks bad unless the 256x256px is very simple which brings be to my next point that if you would make a simple 16x16px graphic and scale-up to 256x256px the graphic would look to simple and not rich enough which would make that size pointless to scale to... wouldnt it be a better solution if you could set a scalable vector graphic reference file for each square number example ..., 16x16px, ... 32x32px, ..., 256x256, ... ...Show All
Visual Studio Team System web accessible test results
Once test results are published against a build, how can i make the results viewable over the web to someone that does not have VS2005 Are you using Team Foundation Server Test Results can be published to TFS, and are viable from the corresponding build's web page report. Cheers, Dave ...Show All
.NET Development assembly versioning in .NET Fx 2.0 - default revision number
Does anyone know why defaulting only the revision number of the AssemblyVersion attribute causes the * to be returned when accessing the FileVersionInfo.GetVersionInfo(<assemblyName>) Ie. in AssemblyInfo.vb I specify the version like so <Assembly: AssemblyVersion("1.0.0.*")> <Assembly: AssemblyFileVersion("1.0.0.*")> Then in code I pull that value in Help -> About like so Dim verInfo As FileVersionInfo Try verInfo = FileVersionInfo.GetVersionInfo("SalesInfo.NET.exe") Catch ex As Exception 'if erro ...Show All
.NET Development Checking if I'm online
Hello there! This is my 1st post here and I'd like to greet all people here and ones that are yet to come! I hope we will cooperate just fine. For start, I have a question: I'm making a project with Visual Studio .NET. It is a counter that counts time spent online. (most people in Croatia still use dial-up networking, including me) I'm doing the code in C++. I was wondering how can I check if I have connected to Internet. Another think (I think that would be better): Can I set it so that when I connect to Internet, I send information of establishing connection to my program (if program is not ran, it runs the program first). Is this possi ...Show All
Smart Device Development Why core connectivity creates this strange file?
In my device (RNDIS disabled), when I use remote tools of VS2005, a file that contains the target ip 127.0.0.1, is always created. And it's name is: 514c36bf-c13e-4091-a3a7-1e566227620d The file size is 20 bytes. How can I remove this file Corecon 1.0 creates some temporary files required for its components to communicate. THis file will be recreated if you delete it. Just leave it alone. The issue only exists on the development devices and emulators ...Show All
