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

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

nick0000000

Member List

Remulac
Bharg
CsNetworks
Jim Loo
Breakgate
LaurieCSI
Chris G.
brizznady
davros-too
Mike11
Engage
TroyMac
Kim Greenlee
FALCO
Bendudu
adil taqi
Gautam25470
fdgsogc
kfarley215
phradecky
Only Title

nick0000000's Q&A profile

  • Windows Forms Datagridview KeyDown Event

    I have a datagridview bound to a datatable. I want to have the Enter key move across the row and not down the column. I can catch the Enter key with a KeyDown event to use a SendKeys command (not very elegent), but when the cell is in the edit mode, the KeyDown event is not fired when the Enter Key is pressed. The focus moves down the column. Any ideas Hi Scott, I also had thesame problem and use this as a solution: it is not yet perfect though, but perhaps  you find it usefull: public class DataGridViewEnter : DataGridView     {         const int ...Show All

  • Visual Studio 2008 (Pre-release) table of data

    I need to display the contents of an XML file in tabular form. The basic structure of the XML is; <table> <row> <column_name_1 /> ... <column_name_n /> </row> </table> where column_name_* etc could be <name>, <age>, etc. For example, <table> <row> <name>Bob</name> <age>32</age> </row> <row> <name>Alice</name> <age>23</age> </row> </table> Which should result in a table thus, [name][age] Bob 32 Alice 23 Unfortunately, what I am seeing is [name][age] 32 32 23 23 Obviously, my binding logic ...Show All

  • Visual Basic help: WebBrowser Control

    hi, I want to Add a web browser control to my project , but i don't want it to open url or anything like that . i want to fill it programaticly from a database to display some text and links on it, when the user click a link the webBrowser control will open the url or even i can open it in the enternet explorer i know i can put links in RichTextBox control but i don't know how to format the paragraphs in it, anyway i prefer the WebBrowser instead is there anyone to guide me through this Thx Take a look at the webbrowser controls documenttext property http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.documenttext ...Show All

  • Visual C# "That assembly does not allow partially trusted callers."

    I don't understand this... Whenever i click my button i get the following error: "That assembly does not allow partially trusted callers." What can be wrong I'm reading the source code of an example application using the MySQL connector, and i'm trying to create a similar application. It's pretty embaracing :( [ STAThread ] static void Main() { Application .EnableVisualStyles(); Application .SetCompatibleTextRenderingDefault( false ); Application .Run( new Form1 ()); <--- "That assembly does not allow partially trusted callers." FORM1.CS: using System; ... using MySql.Data.MySqlClient; ...Show All

  • Windows Forms Updating data files

    Hi all, I have a winforms app that I want to deploy via clickonce, largely because there are 3 large xml data files that will be periodically updated. These files are lookup only, and WILL NOT change on the client. First, I'm running the RTM of visual studio, not beta or RC in case that makes a difference. Now, when data is changed in a table on our sql server db, a trigger will force these xml files to be recreated, and then the files must be re-deployed so that the client receives the updated lookups. I've looked at two ways to do this... Mage, and using MSBuild so that the trigger can just call a batch and have everything done. When using ...Show All

  • SQL Server Data access by creating functions

    A number of time I have come accross developers using functions like GetProduct() GetProductTitle() GetProductCategory() to get the value of the data instead of just using queries / stored procedures Not UDFs but functions in VB and in DLLs I have not understood why can you please point to some good forum messages / blogposts / articles on this Whats your take on this The main reason for this is to separate your code into layers. When you create this function, then you could have different database implementations inside of the function, like data from SQL Server or Oracle, but to outside world, that ...Show All

  • SQL Server Log Folder Creation

    My Log file connection is set to "Create Folder". According to BOL, this seems to indicate that the folder(s) that the log file will reside in will be created if they do not already exist. Yet I am receiving a package validation error when I execute the package. The full error is: The SSIS logging provider has failed to open the log. Error code: 0x80070003 The system cannot find the path specified. As a side note, I thought that setting the connection to "Create File" would recreate the log file each time it ran but that does not seem be the case. Instead, the file gets appended. T ...Show All

  • Visual Basic simply play music (midi, wav ect...)

    How do you play music on form load just play music (from file) i tried Sub PlayBackgroundSoundFile()     My.Computer.Audio.Play("C:\Waterfall.wav", _         AudioPlayMode.Background) End Sub didn't work The is an abundance of ways to play music on a MS system. You can use windows media player as an object. My favorite is the mcisendstring class. I wrote a large project around that but it's in VB6. In vs2005 this works: Sub PlayWhenLoaded( ByVal sender As Object , ByVal e As _ System.ComponentModel.AsyncCompletedEventArgs) _ Handles Audio.LoadCompleted     ...Show All

  • .NET Development How do I get or set IV and KEY for Symmetric Key in MS SQL Server 2005?

    All Symmetric encryption algorithms have to have Initialization Vector and Key for Encryption/Decryption. It is possible to generate and save them for future use in VS 2005. How do I do it in MS SQL Server 2005 ! I beleive that it has to be such parameters, but I could not find them ... SQL Server 2005 does not have the same rich cryptographic functionality as System.Security.Cryptography, so some things you may be familiar with in .NET will be missing. See http://msdn2.microsoft.com/en-us/library/ms345262.aspx and CREATE SYMMETRIC KEY in SQLS BOL for more info on what *is* there. ...Show All

  • .NET Development Hi, I'm a newbie!

    Hello all, ...Show All

  • Windows Forms how to move from Form to Form?

    I am building an app that requires a user to complete info on a form, then click "Next", complete more info, then click "Next" again. Also, the user can go back at any time by clicking "Previous". It's a wizard-like interface. Anyway, I am currently doing this to go to the next form:             Form2 theForm = new Form2(SomeObject);             theForm.Show();             this.Hide(); This works fine, but I suspect that I shouldn't be doing this. For starters, I am really just hiding Form1, so it is hangin ...Show All

  • Visual C++ Use methods as Callback

    Hi all, I’m asking for help. I’m developing a user interface for a cross platform simulation that is using glut. I would like to create a C++ wrapper for the initialization of glut. I’ve created the following objects: Class CApp { public: CApp(); virtual void __cdecl displayFn(void); virtual void __cdecl keyFn(unsigned char, int, int); ... private: virtual void __init(); ... } Class CGLUTApp: public CApp { ... private: void __init(); ... } ... void CGLUTApp::__init() { // inherited uiApp::__initialize(_fN ...Show All

  • Windows Forms Saving datatable to database

    I am working on an inventory application using the .net compact framework and Visual Studion 2005 I have created a dataset with the following tables from a SQL Mobile database tblItems tblUPC tblSalesCallItems I've also created two additional table adapters by joining the above tables with a query viewSalesCallItems viewItemUPC The portion of the application I am working on right know consists of two forms: the first form has a textbox, OK button, datagrid, and a save button. The user types an UPC in the textbox, then clicks the OK button. This brings them to a second form (item details) where they can add additional information abo ...Show All

  • SQL Server what is the default login user name and password

    Hai Freinds, Is there any default username and password for sql server 7.0 Thank You My thanks to Mr.jens Suessmeyer I will try it. if it didn't login me, i would post here again. Thank for your help. Thank You ...Show All

  • Windows Forms Validating a datagrid

    Hi, If there are ten rows in a datagrid how do you validate if the user has entered a value in one of the rows when you go to save that row in VB .NET. Help is appreciated. Thanks! ...Show All

©2008 Software Development Network