Software Development Network Logo
  • Smart Devicet
  • Windows Vista
  • Visual C++
  • SQL Server
  • VS Team System
  • Visual Studio
  • IE Development
  • Visual FoxPro
  • Visual C#
  • SharePoint Products
  • Audio and Video
  • .NET Development
  • Microsoft ISV
  • Game Technologies
  • Visual Basic

Software Development Network >> Visual C#

Visual C#

New Question

make default webbrowser, and publish problem
Form.Close() or Form.Dispose()????
Word COM base interface
c# method, event wizard
which is the best way to desgin a bussiness model, class or struct?
How to write to Excel file?
Intellisense in properties
Security for my application...
Application and HTTP server communication [newbie]
XML newbie

Top Answerers

Martin Kulov - MVP
remedios_
winstonSmith
Amde
KarlZheng
ImagineNation
Henry Wu
Alexander_Monday
Matt Lin
ShemeshYossi
sitemap
Only Title

Answer Questions

  • milton howe changing wallpapers using c#

    I want to change wallpaper image at regular intervals http://msdn.microsoft.com/coding4fun/windows/misc/article.aspx articleid=912569 are you referring to desktop wallpaper or your application background image I extended the MSDN article to cycle all the images in a specified directory. Code is here: http://www.srtsolutions.com/public/item/103695 ...Show All

  • Bill_Henning Overwriting code files

    Is there a way to allow Visual Studio to automatically overwrite code files without asking me (the user) each time if the file is read only There is no easy way to accomplish this. You could however write an extension for Visual Studio that does this but personally I would not recommend that as source code controlled files also depend in the Read Only attribute and you do not want to mess with this. ...Show All

  • Hans L Windows Service or Scheduled Task

    Dear All, I need to run particular database script every 20 minutes. So what should I be doing I am confuse between windows service and scheduled task. Which is better Anyway if its only purpose is to run every 20 minutes the first thing I would think off is to use the task scheduler. Dear Gabriel, So are you telling me to write a c# script and then put it as task scheduler to run it is it How can I write a database C# script But I guess windows service wil suit me better I guess. Please advice. Dear Gabriel, I dont have that option. So I need to make a separate script will run on 20 minutes intervals. So how can I do tha ...Show All

  • Pockey I need to acces flash memory device

    Got an mp3 player (samsung yp z5 to be precise)I bought some time ago.Problem is its not connecting to my PC because I suspect there are some files inside it that have been erased.Is there anyway or some class I can use to view the remaining folders inside by force and maybe I can replace them.Could it be something to do with the Media Transfer Protocol.Being a novice I don't know where to start it will be a problem with the devices, or drivers, itself. If Windows can't seem to find them/remove them then there really wouldnt be a way of doing it in C# especially if they are hidden since it would make a call to Windows asking to get the hidden files and if Windows can't see them then I dont think C# would, ...Show All

  • Ampers A problem with WebBrowser control

    Hello, I have a very strange problem with the WebBrowser control... When the WebBrowser control have the focus, all my main menu strip shortcuts stop working, and when I set the focus to another control it start working correctly. How can I solve that Your help would be greatly appreciated. Sorry for posting twice. I made a mistake posting in the express edition forum. Anyways, I'm getting this problem when WebBrowsersShortCutsEnabled property is set to false. Hi, First please don't start more than one threads for a single topic. Your problem is very specific and un usual. I have never ever got this issue with web browser control when ever i work on it since ...Show All

  • Verna Why is this not valid!!!???

    I have a question that nobody in my department is able to answer. It came to me while using the Class Designer to stub out our data access layer of our application. The question is: If I create an abstract worker class as such: public abstract class MyClass { public abstract void MyMethod( DataEntityAbstract Entity); } Then try the following in its derived class: public class ThisClass : MyClass { // ThieDataEntity is derived from DataEntityAbstract class public override void MyMethod( ThisDataEntity Entity) { // Do Something } } Visual Studio 2005 will throw a compilation error. Why I mean, polymorph ...Show All

  • Slow Learner Capture Key Presses in Windows

    Hello, I would like to build an app that acts similar to ALT+TAB (a key combination causes a form to pop up, hide the form when the keys arent held down anymore) and I'm just wondering what I would need to do to capture keys in Windows Will I need to access the Windows API directly to accomplish this Are there any examples that somebody could point me to that show how to do something in C# based on a KeyDown in Windows Thanks! Thanks Peter, that makes sense. It's too bad though... :( Thanks guys for all the replies, I'm not actually trying to over-ride ALT+TAB or CTRL+ALT+DELETE but I want to write an application that acts similar... For example: If I hold down ALT+` ...Show All

  • Jonathan Cran TCPClient

    Ok. I am having some problems connecting to the pop3 server for Yahoo!Mail. When I try and connect with an account ending with @sbcglobal.net, it words, but any other yahoo account wont work. Can someone tell me what the problem is ...Show All

  • Detisch How to add application name in property pop up?

    Hi.. In folders, if we right click on them , we can see a popup which has several items like open,explore,winzip. How to add our own application name in that popup Most of the google results are providing through the registry. Is it possible to do the same with c# program. Do we need to create a setup project to achieve it Perform a Google Search on the keywords: C# Shell Context Menu or C# Shell Extensions. Here are examples: Add a context menu to the Windows Explorer Write Shell Extensions with C# You don't need to create a setup project but you do need to add the necessary entries to the registry using regasm.exe. ...Show All

  • Mazmo tab control selected index event

    i have encountered a starnge behavior with the tab control in visual studios 2005 or in code compiled under VS 2003 but run under framework 2.0: if i try to change the control's selected index in " regular" code (for instance, in the constructor) the selected index change event will not be raised and the callback function will not be called. changing the control's selected index through the GUI or even from another callback function, like on_Button_Pressed or on_Timer_Tick will raise the event. does anyone have any idea what is the reason for this strange conduct important to mention that this problem does not reconstruct in other controls under the framework 2.0, and does not apply for framework 1.1 build the following cod ...Show All

  • SPWilkinson Conversion of Data to a letter(PDF format)

    Hi, I am writing this application (in C#.NET off course) for my organization where I extract data from a SQL server database and then print out the data in pdf format. I am done with this part, the part that I need help is that upon extraction of the customer information from the database, my company wants to print out a letter with the customer information on it which can be later mailed to the customer. So in short, for every customer there in the database, a letter needs to be generated with the extracted information on it and this letter needs to be in pdf format. I was doing some research and somebody somewhere mentioned crystal reports. I have no idea how to use crystal reports in this particular instance or in any instance for th ...Show All

  • werash Enable a button

    Hi, I am still learning C#. I am able to work out how to do most things that I need, but there are still some areas that cause me great problems. One thing that I am trying to do is to Enable a Button on a form when a button on a second form is clicked. This is to ensure that the second form is closed and parameters set on this panel are updated before my main program can be started. I have set the Modifiers property to Public, but I still can't see the button control from my second form. Am I missing something Any help will be most welcome. Regards John Woodiwiss Hi Many thanks for this, I will try it out over the weekend, when my brain has had a bit of a rest! John ...Show All

  • Carsten Kanstrup Not finding a web proxy class that should be auto-generated

    I'm having difficulty running my web app. It was working correctly, but I had to move the project files around. After moving them, I added the web site and service back into the project. My service works perfectly but my site can't seem to find the class UserService.UserService (which I believe is auto generated by my web reference). I tried removing the web reference, closing VS, opening and cleaning the solution, closing, then adding it back in and deploying - but no luck. The disco, discomap, and wsdl files are added to the project correctly. Here is the exact error message C:\philipd\Visual Studio 2005\Projects\...\Global.asax(5,5): error CS0246: The type or namespace name 'UserService' could not be found (are you missing a using direc ...Show All

  • Antioch some questions I could use a little help with

    Hi all, I am trying to understand what these methods are IsOdd, IsInteger, and extractAlpha. Also, how would you implement them in the following statements. bool IsOdd(int number) bool IsInteger(string strValue) and string ExtractAlpha(string strValue) Thanks James, thanks for the reply. I was not asking for homework help, my main intention was to find out if these methods were in the c# language in the .net platform. My fault for not clarifing my post. Anyways, I got a c# programming e-book for example test and it didn't specify if it was for the .net platform and it said to implement those methods. I am just learning c# in visual studio.net 2003 and was just looking for help to determine ...Show All

  • vicky_dceian cannot convert from 'ref int' to 'ref int?'

    i have this methos in by bussiness logic call and it is generating the error cannot convert from 'ref int' to 'ref int ' public bool InsertUser( Guid Userid, byte [] UserName, byte [] UserPassword, string FullName, string EMail) { int intResult = 0; UserTableAdapters. QueriesTableAdapter UserDb = new UserTableAdapters. QueriesTableAdapter (); UserDb.InsertUser(Userid, UserName, UserPassword, FullName, EMail, "INSERT" , ref intResult); //cannot convert from 'ref int' to 'ref int ' if (intResult == 1) return true ; else return false ; } can any one help in this regard Thankx. It looks like the int argument in the InsertUser method is a nullable int, wh ...Show All

363738394041424344454647484950515253

©2008 Software Development Network

powered by phorum