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

Software Development Network >> David N.4117's Q&A profile

David N.4117

Member List

ckrepps
Shane Fatzinger
JanusKH
bohly
Peter McEvoy
koldFUSiON
S Lyons
Hytham
IS dude
NetPochi
MarcvdW
Johnny Raved
Shamdogg
tlc660
Altug Atik
Tammt
SQLIdiot
Feng26
VERNON TODD
Fusion54
Only Title

David N.4117's Q&A profile

  • Visual C# Problem with textbox ?

    I am using an invoice system . I am having lot of textbox in my page . When my pointer is in textbox . Suppose if the user uses enter key in the keyboard my mistake . My page automatically redirects to some other page . Even if the user presses enter key by mistake in any of the textbox nothing should happen .How to do it . any one pls Sounds like you're using ASP.NET. If so, you need to ask at www.asp.net , web dev questions are off topic here. If not, then you've got a default button that's being pushed and navigating to another form in your app, you can get rid of the default button, or just catch the key press within the control and ignore it. LMK if this is not a web app, and I'll explain further if need be. ...Show All

  • SQL Server Analysis Services SP4 problems

    Hello I hope someone can help me. On a SQL server that has had SP4 recently installed on it for both the SQL Server service and OLAP service, I am unable to browse the data of any of the Shared Dimensions or Cubes of any of the databases when I use the Analysis Manager MMC. At the time I am logged onto the server as an administrator using terminal services. Upon attempting to browse a shared dimension the following error is returned "Unable to browse the dimension <dimension name>, Type mismatch" and when attempting to browse a cube the error is "Unable to browse the cube <cube name>. An unexpected internal error has occured. Please restart the application." The Cubes can be browsed via Excel though an ...Show All

  • Smart Device Development Newbie Question menu

    Iam creating a menu in code by public void CreateMyMainMenu() { // Create an empty MainMenu. MainMenu mainMenu1 = new MainMenu(); MenuItem menuItem1 = new MenuItem(); MenuItem menuItem2 = new MenuItem(); menuItem1.Text = "File"; menuItem2.Text = "Edit"; // Add two MenuItem objects to the MainMenu. mainMenu1.MenuItems.Add(menuItem1); mainMenu1.MenuItems.Add(menuItem2); // Bind the MainMenu to Form1. Menu = mainMenu1;} Is it possivble to save this somewere else so more forms can use the sam menu I followed your code to guide you. You need to correct it like this: MenuItem menuItem1 = new MenuItem(); ...Show All

  • Visual C# XML Reading

    Hi, can anyone help me i am trying to read a xml file with multiple sections, my xml layout is like this <downloads> <1> <name></name> <description></description> <link></link> </1> <2> <name></name> <description></description> <link></link> </2> </downloads> thats pretty much what its layout is like just wondering if anyone can help me to read this Would it be possible for you to change the format of your XML layout Something like this would be better for the Framework: <downloads>   <download>     <name></name>     <description& ...Show All

  • Internet Explorer Development Problem debugging embedded Client Script using IE7

    We are getting an error when trying to debug client script (VBscript and JScript) from the Running Documents window using VS2003.  This only happens when the script is inline on an asp page.  If there is a .js file, there is no problem. Here is the error we get:   "The following breakpoint cannot be set: bla bla bla No executable code is associated with this line." I am about to uninstall IE7 and go back to 6 because I am unable to debug our client-script-heavy applications.  Any help would be appreciated. Thanks, Kevin   Hey Dave, The only other thing worth noting is that we are using VBS and JS on the client. Any page what we have inline c ...Show All

  • Windows Forms selectedtext changed event

    Hi, vb6 offered for the Textbox control the event SelectedTextChanged. How is this done in .net Cheers, Frank a textbox is enough. I added two eventhandlers to the code, KeyUp and MouseUp. This gives me the possibilty to check whether or not the user selected some text in the textbox. Cheers, ...Show All

  • Smart Device Development SMS application

    Hi, I’m working on a Pocket PC application in VB.Net on Compact Framework. It is required that we develop a SMS module. What is the functionality (code )that should be provided to the Click event of the SEND button. Thanks, the correct code is: Dim smsAddress As IntPtr = Marshal.AllocHLocal(smsAddressTag.Length) The Marshal class is from NetCF.Runtime.InteropServicesname space, which is included in demo VB project Public Shared Function AllocHLocal( ByVal cb As Int32) As IntPtr Try Return WinApi.LocalAlloc(WinApi.LPTR, cb) Catch ex As Exception End Try End Function System.Runtime.InteropServices.Marshal.Copy() is a from d ...Show All

  • Software Development for Windows Vista Communicating a WorkflowAuthorizationException result from a web service call

    Hi I've already posted on this issue before but never got any answer that solved my problem. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=791955&SiteID=1 . Please have a look at this post to get some more background. My solution to getting an exception result back to the client is to allow the workflow to throw exceptions all the way up to the root of the workflow and terminate. The webservice activities will report this as a result of the call. I then, looking at another post, changed one of the SqlPersistenceService stored procedures slightly to not remove the instance from the InstanceState table for this type of termination of the workflow. Effectively throwing the in memory workflow instance away and maintaining ...Show All

  • SQL Server overwriting a database

    I am very new to SQL and I hope I am in the right place for this question. I have a database (I believe it is just one table) that needs to be overwritten with an import of a text file every night. I know there is a very easy way to do it, I just don't have a clue what it might be. The database is IPTVprogramsSQL and the table is programs. I am pretty sure the fields names are matched. Again, I am very new and have been thrown in way over my head. Thanks for any help I can get. create procedure usp_truncate_tablename as truncate <table name> go Allen_Iowa wrote: I would like to have this as a stored process that is executed by the server agent. I am using 2005 w/SP1. I trie ...Show All

  • SQL Server VB Express SQL Expert needed for Merge Replication support.

    I have done a couple of little projects in VB express and was pleased with the results. Now I have something bigger in mind and need to know if VB express version of SQL will support merge replication. If not will the full version support it Thanks Dave ...Show All

  • Windows Forms DataBinding vs Manual Iteration

    Hi, I've been using DataSource, DisplayMember, ValueMember, DataBind properties and methods in order to fill controls like ComboBoxes or DataGrids from a database, but some co-workers don't do this, they get the records from the database and iterate through them, thus they include one by one each record into the control. They say that when DisplayMember, ValueMember properties are set, the SelectedIndexChanged and SelectedValueChanged raises (it means have a flag in order to control those events). Now, the thing is that I think their solutions could be slower than DataBindind solutions, any advice My questions is about Windows Forms or Mobile Forms. Thanks in advanced! Regards, Hi. _JORGE _ ...Show All

  • Visual Studio 2008 (Pre-release) Setting Window.Icon Property in Codebehind

    this.Icon = new BitmapImage(new Uri(@"pack://application:,,/Resources/OptionsDialog.ico")); The code above throws the following expection: System.InvalidOperationException: ImageSource for Icon property must be an icon file. If I set this property in the XAML it works fine. How do I set it in codebehind Regards, Eran Kampf http://www.ekampf.com/blog/ Friedrich, You can set the Icon in xaml. In your Window declaration, include something like this: Icon = " Resources/Images/app.ico " I'm not sure how to remove the icon altogether. Perhaps just show a fully transparent icon (hack hack)... ...Show All

  • .NET Development Adding string value to front and end of xml databinding expression

    This maybe drop dead simple but it's had me stumped. Now I'm going in circles. I have an aspx page (vb.net 2) and using an xml databinding expression as follows - all is working well: <asp:Image id="img1" runat="server" ImageURL='<%# XPath("@mediaUrl") %>' > Instead of keeping the whole url in the datasource I wan't to just store the file name and then build the ImageURL value as follows (excuse the syntax - for explanation only); ImageURL = "~/images/" & <%# XPath("@mediaTitle") %> & ".jpg" So it's a question of how do I combine thes three parts into one string I've tried every combination of single and double quotes I can think of, however I still get a tag error except in the following case where despite getti ...Show All

  • Visual Studio Express Editions Send and Receive a SMS/MMS by VB 2005

    Does anyone have a great advice about build a VB 2005 program that can send and receive a SMS/MMS. FQ, AS your demand on sending and receiving a SMS in VB 2005, I found an example is exactly what you want written by Wang Meng in code base. The title of the article serials is .NET Phone Communication Library . Part 2 and Part 4 are on sending and receiving SMS. The code example is written in VB.NET. I hope these two articles will help you too solve your problem: .NET Phone Communication Library Part II - Send SMS: http://www.codeproject.com/useritems/phonesms.asp .NET Phone Communication Library Part IV - Receive SMS: http://www.codeproject.com/vb/net/phonesmsrecv.asp ...Show All

  • Smart Device Development How to make the application start with system

    Hello,everyone: I want to make my program run when the system boot. So how can I do that by code Any APIs or sample codes Kenneth Yang wrote: hello: I think you can add a key in register, when initial, you can get the register key value, if 0,you continue run the program, if 1, return. Best Regards, Kenneth Yang That means my program have to run every time when the system boot in case of get the register key vlaue,and decide to continue or not Am I right Well,somehow I dont feel it reasonable.Still, thank you very much for your help. ...Show All

©2008 Software Development Network