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

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

fddsfsdf

Member List

ramakrishna Apollo
nairB
Sniper167
Richard_Wolf
SpeedOfSPin
Guido den Broeder
Thena
CFutino
KirkHaselden
nattylife
bshive
Malmer
Tom_Liu
hte
mtpollack
Vlad Bezden
saffy_in_aus
DZork
Marco Russo
Furty
Only Title

fddsfsdf's Q&A profile

  • Windows Forms how to add a drop down control to DataGrid

    Hi This is Keshav.I have to add a drop down control in the Data grid.Can any one give me a sample code.Give me the complete code Regards Keshav Moving from .NET Framework Data Access and Storage to Windows Forms Data Controls and Databinding . ...Show All

  • SQL Server indexes question

    Assume we have a sales table, which contains a OrderID(char(8)) and a OrderDate(smalldatetime) field. Each day, hundreds of thousands of records needs to be inserted into this table. We need a daily sales report, and the OrderID is not necessarilly sequentially entered (every data operator has a range of OrderID, so for each data operator, it is sequential, but globally, it is not). So, I would like to create a clustered index on OrderDate, and the Primary Key is on OrderID. I think it is good for generating the daily sales report. However, when an order is entered, we need to quickly check if the OrderID already exits, because the unique index on OrderID is built on the clustered index (on OrderDate), which means the Database Engine will ...Show All

  • Windows Forms Playing multiple sounds simultaneously with SoundPlayer

    Hi All, I'm trying to get the SoundPlayer to play two wav files at the same time. The documentation says is should play asynchronously but when I try, it seems to end the play of the first SoundPlayer as soon as the second one starts to play. I tried doing it with Theading as well but got the same result. Any suggestions would be appreciated. Thanks in advance for sharing your expertise. ~John Here is a snip of program with just pertinent code. namespace Test4 { public partial class Form1 : Form { SoundPlayer [] aSoundPlayer ; public Form1() { InitializeComponent(); aSoundPlayer = new SoundPlayer [2]; aSoundPlayer[0] = new SoundPlayer (); aSoundPlayer[1] = new ...Show All

  • Visual C++ Hotkey For Build Ouput Go To Next Message

    I know this should be simple, but I can't find the hotkey or how to assign a hotkey for "Go To Next Message" in the build output window. The scenario: I press Ctrl-Shift-B to build my solution, I have build errors, and I want to press a key to cycle through these and fix the errors without fixing the error and then going to my mouse and selecting the next one. In Visual Studio 2005 the default key for mentioned operation is <F8>. In Options dialog it is called Edit.GoToNextLocation .   I hope this helps. ...Show All

  • SQL Server too many cursors

    hi am in situation where i have to place a cursor inside another cursor and within the inner cursor i have to insert record into temp table will this degrade the performance of my sp If so, what should i do thanku Well, if you are actually in the situation where you have to do it, then performance comes second. However, it is very rare to need a cursor, much less a cursor inside in a another cursor. Please post your need and we can help you find a non-cursor solution ...Show All

  • Windows Forms issues while painting lines on the back of a textbox!

    hi , when i run this class i made here , this is what it looks like without text - > http://gidsfiles.googlepages.com/LinedTextBox_1.jpg WITH TEXT (heres the issue) - http://gidsfiles.googlepages.com/LinedTextBox_withText.jpg The text turns BOLD and the lines kinda get erased because of the text. perhaps i could overide or handle the onKeydown or somethin and intercept the text to be entered and then draw it myself. Any suggestions Or is there a better way to do this this is the code : using System; using System.Collections.Generic; using System.Text; using System.Drawing; namespace Linedtextbox { class LinedTextBox : System.Windows.Forms.TextBox { public LinedTextBox(): base() { Multiline = true; SetSty ...Show All

  • Visual Basic To attach to a Com+ Application

    How can I make my application attach to multiple com application I would like to provide a list of com applications installed on the user's pc. For this reason I can't create a reference to the com object during runtime. It should be dynamic as per user selection. It could be an Excel, Word or other com application. Summary 1) To get a list of all com applications available on the user's pc 2) To create a reference dynamical to what the user chose. Thanks Further to my enquiry, I was guided to use wmi however it seems that there is a little bit of difficulty of how and what to use to read the GUID of a com application and then to add a reference dynamically to that object. I ...Show All

  • Windows Forms Open Adobe Reader in a form?

    Hi, I was just wondering if anyone knew how to open a .pdf file in a form. I'm trying to use VBExpress to make a reader for a group of about 60 .pdf books. Does anyone have any ideas I was wondering if I could open it in the WebBrowser form but am unsure how to do so. Thanks very much, Gage Hello Gage. Just add a WebBrowser to your form and you can pass the URLs of your pdf files to it as follows: Me .WebBrowser1.Navigate("c:\pdf\book1.pdf") ...Show All

  • Microsoft ISV Community Center Forums Can't open regedit

    Hai.... Why if I want open regedit (run>regedit), and then show message error like that The application failed to initialize properly (0xc0000005) Please anybody help me... Jebat Thanks I was able to find some detailed info about the Windows registry on http://support.microsoft.com/kb/256986/ . If this doesn't help you resolve the issue, please provide as much relevant detail as possible and we can ask an engineer. -brenda (ISV Buddy Team) ...Show All

  • Visual C++ Encryption and strings problem

    In my code here String ^tmp = ""; if ( !split[x]->Contains("_") ) } tmp = String::Concat(tmp, String::Concat(objCrypto->Decrypt(split[x], 0), "\n\n")); } split is an array of strings and in this array there is encrypted data. The first string that needs decrypted is found it is returned decrypted from objCrypto and added to the tmp string as it should. However when the second encrypted element is found it is returned unecrypted from objCrypto but is not being concatenated on the tmp string. What am I doing wrong. This is a question concerning a .NET security class, not the C++ language. I would ask your question here instead: http://forums.microsoft.com/MSDN/Show ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Help What do I need to download so I can connect to my 360 for XNA?

    What do I need to download so I can connect to my 360 for XNA Do I need to download windows media connect Please provide more specific information about the problem. After following the instructions, what error are you getting Have you verified that your console and computer are on the same subnet Have you verified that your firewall has unblocked xnatrans.exe (or at least the ports specified in the documentation) Have you generated a connection key and entered it on your computer (Are you really, really, really certain you did not make any mistakes doing this If not, try it again. Some characters are very hard to distinguish on standard-definition TVs, and be sure to accept the new key on ...Show All

  • Visual Studio Tools for Office Add Worksheet From template

    I am trying to add a worksheet from a template, the documentation says this, If you are inserting a sheet based on an existing template, specify the path to the template, if I do that it throws an exception, I am using C#, any suggestions Actually please disregard the previous comment. Found that Workbook.Add can accept path to the template workbook as its last parameter. Not sure if I can provide many insights. I would start troubleshooting by first trying to add a very simple template, then try adding more features to the template and see when it starts to break. You can also use VBE's immediate window to speed up the troubleshooting - at least you won't need to recompile your code every time. Hope ...Show All

  • Visual Studio Express Editions VB Browser

    I am making a Internet browser and I have run into some problems. I would like some help some someone here. Ok, The problem I have right now is that I would like it, when you hit the enter key after you type in a address in witch you what to go, that it will take you to the site. I do have a button for going to the address but I would like to make it easier to get there. This is the code I have now: Private Sub ComboBox1_KeyPress( ByVal sender As Object , ByVal e As Object ) If e.keyChar = Chr(13) Then Windows.Forms.Cursor.Current = Cursors.WaitCursor WebBrowser1.Navigate(ComboBox1.Text) Windows.Forms.Cursor.Current = Cursors.Default End If End Sub I know something is wrong with this but I ...Show All

  • Visual Studio Express Editions Windows Application creation using Process2 object

    When I create Windows Application in C# Express Edition in following file (named Program.cs) I see using of Program object: static class Program {...} But MSDN help says that Program object has been superseded by the Process2 object, so it should no longer be used. Existing code using this object continues to work for backwards-compatibility purposes. For new applications, use the Process2 object. So, if the Program object should no longer be used why this object is beeing used in default Windows application template Where Can I download Windows Application template using the Process2 object instead of the Program object MarcD wrote: I think you are taking stuff out of ...Show All

  • Architecture Using Persistence Objects: What are the advantages?

    I pose this question for anyone who has experience in both using and not using data persistence objects in their domain design (i'm talking about mid to large size applications) What are advantages of using persistence objects in conjunction with domain objects to move data to and from the data layer (database, files, etc) To me it seems like having the data access ORM code in the actual domain object gives that object total control and flexibility over handling/validating its own data with no performance overhead. All domain specific logic is in one place which makes maintenance easier if the busines rules need to be changed. I would be very interested if anyone has a good, real-life example or explanation of why using Persistence O ...Show All

©2008 Software Development Network