Software Development Network Logo
  • Game Technologies
  • Visual J#
  • Architecture
  • Visual C#
  • Smart Device
  • VS Team System
  • .NET Development
  • SQL Server
  • Microsoft ISV
  • Windows Live
  • Visual C++
  • Windows Forms
  • Windows Vista
  • Visual Studio
  • Visual FoxPro

Software Development Network >> Divyang's Q&A profile

Divyang

Member List

Danut Prisacaru
FlavioOliveira
rpsprott
lax4u
The Rhino
honigkuchenmann
Batista
adidion
David Maynard
flwid
nove9nove
Gunjan Moghe
lasher999
Doug B
Tim Sohn
Venusm
Aaron R
Hockey Fan
Andreas Schweizer
shade_rigal
Only Title

Divyang's Q&A profile

  • Visual Studio 2008 (Pre-release) Treeview with contextmenu

    Hi Guys, Does anyone know how to display contextmenu per items in the treeview For example I have contextmenu1 and contextmenu2. I want to display contextmenu1 if the selected item in the treeview is parent and I want to display the contextmenu2 if the selected item is child . I've tried to include it in the styleselector but I'm getting an error and I also tried it in the HierarchicalDataTemplate but it's not working either. Did I overlook something Thanks in advance! Below is the code in the HierarchicalDataTemplate --- < HierarchicalDataTemplate x:Key = " Template " ItemsSource = " {Binding ...Show All

  • Visual C# Sending automatic emails from C#

    Hi Friends, presently am doing a project in ASP .NET 2.0, C# . i want to know how to write code for sending emails automatically to a specific address . for example ,in developerfusion's discussion board, when someone replies our doubts we get an email with a link to that posted reply. how it is made possible. am using .net 2005. in this mail sending is handled bye system.net.mail class. the code i tried is System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage();        message.To.Add("sajitha.jose@calpinetech.com");        message.Subject = "may God bless you";     & ...Show All

  • Visual Studio Express Editions Users in SQL Express server

    This is my connection routine for an SQL Express database I'm using with ASP.NET and C#         connectionString = "server=.\\SQLExpress;uid=sa;pwd=;database=cartridge;" +         "Integrated Security=True;";         connection = new SqlConnection(connectionString);         connection.Open(); When I run the database in "debug" mode through the VWD IDE the connection is made and I get query data etc, but when I try to access the database from IIS I get a login failed message, I assume this means I mus ...Show All

  • Visual Studio Team System timestamp on local files during tf get

    When I get files from the server into my workspace, the datetime on the file is forced to be the current time. (Eg. the time of the tf get.) Is there any way to have the original modification time for the file preserved on the local file I am hoping there is a project-level configuration setting similar to what was available in VSS. ...Show All

  • Visual C# Creating an Excel file from a DataSet (no physical database)

    Hello everyone, I'm currently working on a project (this is my first real program in C#) and I'm a little stuck on this part of it.  To keep it short, the program accepts input from the user (obviously) and that information is put into a dataset in memory.  The user can then save the information to an XML file.  This XML file serves 2 purposes (to save the information and to retrieve the information).  The XML file can be sent out my test web server where I'll have a small asp.net page that can display the contents of the file, or you can use the program to open the XML file back into a dataset.  Here's the proble.&n ...Show All

  • SQL Server Database image retrieval causes datasource credential prompt

    I have an image stored in a database that I use on a report with other non image data. When I run the report, the non image data is displayed, followed by a prompt for me to enter datasource credentials. None of the images are downloaded until I enter the credentials. If I don't enter the creds, the images aren't downloaded and appear only as the red x, file not found icon. I don't understand why I'm getting the prompt because I've already passed the exact set of credentials that the dialog expects to the web service with my call to the render method. THIS IS SO FRUSTRATING! I am experiencing this on both staging and ...Show All

  • Visual Basic Connection Strings

    After reading through the issues on ConnectionSettings I have decided that whoever or the group that decided that the developed and deployed database will be in exactly the same place as in the developement environment hasn't a clue to the real world. The person or group should rapidly be removed from the gene pool before any futher damage is done. Sorry for this attitude, but what possible reason could there be to not have the ODBC app look to the ODBC Name to get a clue as to where to look for the database. This is absolutly absurd. Max Guernsey Rio Rancho, NM Well, that didn't work. I change the con ...Show All

  • Visual Basic Adding Tables to DataSet

    Hey there, me again... I really don't get it, am I really this stupid I have a DataSet with a table from a SQL-Server. Now, how can I add a second table from another SQL-Server into this existing DataSet I'm sure you guys can help me! Thanks in advance! Felix Sorry, me again... When I'm adding a new query in the DataSet Designer, I can only do a query in one table. I can't add a table from the other database in the Query-Builder. Anyone knows why and how I could fix it I need a query with more then one table Felix ...Show All

  • .NET Development "The request failed with HTTP status 401: Access Denied"

    I am currently developing an ASP.net web application to consume web services, but am having an error message on the ASP.net web application whenever i try to run it. The message says " Server Error in 'Client record application', "The request failed with HTTP status 401: Access Denied". How do i resolve this Does this error occur when a webmethod is invoked If so, then the rights being passed to the webservice do not have rights to run it. Either make your WebService allow anonymous in IIS or turn on NT Authentication on your WebSite and set the credentials of the webmethod invocation using: <webserviceproxyclass>. ...Show All

  • Windows Forms SelectedValue DGVComboBoxCell??

    Hi! please help me, how can i select a value in a datagridviewcomboboxcell i'm using a dataset as datasource . . ex combobox contains: Display member        Value member       ABC                         1       BCA                         2       CAB       &nbs ...Show All

  • Visual C# scrollable datagrid

    Is it possible doing a vertical scrollable datagrid How I won't page!!! Thx When you put more rows in a DataGrid that is gets outside of his visable bounds a scrollbar is automaticly shown. Edit I noticed that you last questions on the forum are webforms related, so when you want a scrollbar in a asp:DataGrid then just put the asp:DataGrid in a <div> or in a panel or something. Don't forget to set scroll = true. ...Show All

  • .NET Development int on a 64-Bit machine

    Hi! If I declare a variable of type int in C# it will normally map to System.Int32. If I run the same application on a 64-Bit machine will it then map to System.Int64 Please note that some information in this thread is not correct. In unmanaged Visual C++ sizeof(int) == sizeof(long) == 4 on both 32- and 64-bit machines. Thanks, Eugene ...Show All

  • Visual C++ A question for Gurus about an application which should run before login screen

    hi! I am developing a program VC++, which could make any application to run before login screen, and never show desktop etc.... why i am making this kind of application here is the story!  Well Once i went to the Game cafe where all ppls were playing Counter srike(game), i bought a ticket and then took a seat. Then i pressed ON (to the CPU),within some seconds after boot OS, I found Counter Strike game options (as this computer is dedicated to only GAME)....but from all that time i was wondering where is the WINDOWS and how come it didnt show me dialog box for id and password...and how come IF its loging automatically then why i cant se ...Show All

  • Visual Studio Team System Code Coverage Tools

    I'm trying to automate code coverage but following the examples of running: vsperfcmd /start:coverage /output:my.coverage [run my mbunit tests here] vsperfcmd /shutdown results in the coverage file being created but my nant build hanging while the shutdown waits and waits. Our goal is to move to msbuild but that won't happen for a while. Any suggestions would be appreciated Are you trying to do this as part of the build process Nonetheless, I'll move this to a more relevant alias ...Show All

  • .NET Development problem using subnet mask 255.255.0.0 and .NET sockets

    Hi, I have two computers connected to a network switch. Both use static addresses. Computer 1 uses:  192.168.1.80,  subnet mask 255.255.0.0,  Windows XP Computer 2 uses:  192.168.2.79,  subnet mask 255.255.0.0,  Windows CE 5.0 .NET Ping works fine is both directions. I can also connect to the CE box using remote tools like Performance Monitor, Process viewer, etc, using cemgrc. No problem there. I want to establish a TCP socket connection between those computers using .NET sockets but I always get the exception "Socket encountered a dead network" on the Connect() method. Everything works fine if the two com ...Show All

©2008 Software Development Network