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

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

grumsterUK

Member List

Poma
JamesPMiller
RMon
S Nesbitt
lb17
Dallastower
DeonCadme
Tinu
sdochert
Rhubarb
Doriak
Martin Lundberg
jkas
kennm
magwo001
clint 2
ChoKamir
sprofaner
Qingbo
imin83
Only Title

grumsterUK's Q&A profile

  • .NET Development Installing an application in local network!

    Hi!, I'm trying to install an vb.net 2005 application I know that I need to use mscorcfg.msc to configure my application but I don't know how to do it. I have my .exe and some .dlls, I need to put the .exe in a local area network for many users, but I don't know how to configure that. Does anybody knows any information or tutorial about that Thank you. You might also want to take a look at .Net 2.0 ClickOnce technology: http://www.15seconds.com/issue/041229.htm If you use it you don't have to worry about updating .Net Security on the client. ...Show All

  • Visual Basic AudioPlayMode WaitToComplete fails

    My .Computer.Audio.Play( "c:\mymusicx.wav" , AudioPlayMode.WaitToComplete) The above works for .wav files where the music is fairly continuous, but when there are quiet gaps (about 6 secs or more) between songs within the same .wav file, the statement exits during the first quiet gap, rather than continuing to the end of the file. (Players like Itunes play the .wav file correctly to the end). I have Visual Studio 2005 v8.0.50720.42 Hoping someone can explain this. thanks for suggestion, but the problem happens with an explicit .wav file. I created a test .wav file by recording the C major scale from a keyboard. Each note was held for about 1/2 second, with a 5 second ga ...Show All

  • Visual Studio 2008 (Pre-release) Help with styles

    I seem to be missing something fundamental with styles. In the code below, see the Hyperlink cell template for the PublishDate column. When I apply the LinkDefault style, it works great for the first row, but after that all the other cells are blank for PublishDate. It does show an active scroll bar there in the cell , so something is happening, but it does not seem to be showing any data in any of the rows in the GridView except the first row. ------------------ <Window xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' Width="664.8" xmlns:l="clr-namespace:SDKSample" x:Class="SDKSample.Window1"> <Window.Res ...Show All

  • Visual Studio Express Editions MenuStripItem on sys tray

    After looking at this topic here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=381830&SiteID=1 Anyone know how to add some Sub or something for handling each individual MenuStripItem yes, exactly as I said. try this: on your form designer add a notifyicon and a contextmenu then click on the notifyicon to bring up is properties and in the "ContextMenu" select the context menu you just added then select the contextmenu control and on your form will appear a context menu strip. add your items in there once added, for each item you added, double click on the item to make an event for that item you would click on your systray icon (When you right click) do ...Show All

  • .NET Development What Trim function do i use??

    i have this string 2004-07-31 00:00:00.0 i want to trim the underlined text off so that it only shows 2004-07-31....I used the TrimEnd and passed it an char array but that did not head the results i needed...any help on how i should do this Let's try in again: >> I found this cool function String.Remove(10, 11) that did it for me Well, if we are going to accept the the part we don't want will always start at position 10 (as the above method does), then the best method would be string s = "2004-07-31 00:00:00.0"; s = s.Substring(0,10); ...Show All

  • Windows Forms Using SplitContainer and multiple forms

    Hi, What I'm trying to do is create an application that has a treeview on the left and a form on the right. For example I have a database application that need to manipulate many different areas of information and the selection from the tree view will decide what controls will be shown on the right. The easiest way to create a panel of controls is with the form designer ie a form I did not find a way to replace a splitcontroller panel with a new form. Is this the right approach Basically I need the 2nd panel to be replaceable with a form ( created from the form designer) I did this in MFC and it was a piece of cake, using Cformview's ( which were created in with the gui editor). Suggestions Cheers ...Show All

  • Visual Studio 2008 (Pre-release) Executing Commands from *any* event

    I understand that commands can be triggered off certain events of certain controls. For example, specifying a Command for a Button will trigger it off the Click event. But what if I wanted to trigger a command off of a different event -- like a Load event Is there a way to do this at all If so, can I do it from XAML only This is the feedback from Msft on the issue Microsoft wrote: This is by design for this version. We do understand that this is a valuable feature and are considering it for future versions. Thanks for the feedback! Looks like we won't get it with V1 ...Show All

  • Visual Studio Express Editions Saving data to my database server

    Why any data/record don't get saved to my database - I tried with SQL and Access -Even I replayed Tutorial video, and learning VB through the VB Ex.Edition 2005 several times. - Codes of TabelBindingSource, and TabelAdaptor are correct as standard. - Primery Key on the database has been set. Hope to get some help. Thanks First of all it's "code" and not codes. Obviously your code isn't correct it's not doing what you want it to. But no one can diagnose problems with code they can't see. ...Show All

  • Visual Studio VS2005 crashing on debug

    This is annoying. Visual Studio 2005 has just started crashing when debugging a particular application, either when pressing F5, or when trying to attach to the process after starting it separately. It's fine with all other projects. Most times it just gives the "...has encountered an error and needs to close" message, although one time it just completely vanished without trace. The application runs fine by itself. And I'm sure I remember VS2005 debugging it perfectly happily yesterday. I don't even think I changed anything since then. Anybody know of anything like this Any possible solutions, workarounds or hotfixes I might consider Anything stupid I may perchance have done Further information: I created a new project with ...Show All

  • .NET Development Generating random numbers and Retreaving them in other forms in C#

    I admit it, this probably has been answered half a google times before in other threads, but I have not been able to find exactly what I'm looking for. I'm trying to make a rpg (hence the need for a number generator). But, I need to be able to have the spread of the nembers to be between 1 and 20, for example. Then, I need to call these numbers latter on. Obviously I'm learning the language and trying to modernize myself (I've only worked with QBASIC beore!) Can anyone help Oh yeah, I should mention that a psudorandom number would suffice. I didn't read the thread to a T, but the stuff there looks inefficient.  James Curran's shuffle technique described above is the standard way of generating permutations of random numbers ...Show All

  • Visual Basic any way to NOT break on a very specific com exception

    Is there any way to NOT break on a very specific com exception Intel's CT ADE uses a caller's hang up an as exception to travers the call stack, and , overcourse, that is not a real exception in the VS05 world. I didn't see anyway to do it in the Debug, Exceptions. Any ideas Bob I am afraid I need some more guidance. The hangup produces the following error code System.Runtime.InteropServices.COMException was caught ErrorCode = -2147201494 Message = "Caller hangup" Source = "Envox.ADXVoice.9.1" Looking under debug, exceptions, add, there is not obvious place to add this. The only two that accept numbers are Native Run Time Checks and Win32 exceptons; both let me add the errorcode as user ...Show All

  • SQL Server Cannot get SQL 2005 RS up and running

    I am attempting a migration to RS 2005. I restored the ReportServer and tempdb databases over to the new server. The config manager says the ReportService service is running. When I try to view the reports in a browser I get a report server is not responding error. Thanks Richard I still don't understand what you mean by "would not recognize" the command. Is it not found Did you get an error when you ran it Can you paste the command you ran and the error message For the new error, go to configuration tool and redo the "Database connection" panel. ...Show All

  • Windows Forms Host Controls in Windows Forms DataGridView Cells

    Hi all, I'm trying to create a new cell within the new DataGridView (.NET 2 Beta). For example, I'm trying to create a cell which contain a RichTextBox, I succeed with the appearance of the rich text box controll but there is a lot of irregular behavior. Does someone did it already(not particular with RichTextBox) and can send an example. Unfortunately Microsoft example in the link below doesn't accessible. http://whidbey.msdn.microsoft.com/library/default.asp url=/library/en-us/dv_fxmclictl/html/e79a9d4e-64ec-41f5-93ec-f5492633cbb2.asp 10X in advance, Nir Oren Re your post adding the line "  ctl.Value = (DateTime) this .Value;" This causes an invalidcastexception when clicking on a null cell (new record). A fix m ...Show All

  • SQL Server Daily use of encryption

    In practice, I find encryption kind of messy to use -- opening, closing keys, use of certificates, all the while trying not to give away the password in cleartext. If our .NET programmers are to use it efficently in high-level code we need a function call, say "EncryptValue(<input value>)", that simply returns the encrypted value. Is it possible to write such a function (And of course, we need the mate "DecryptValue(<encrypted value>)". TIA, Barkingdog [edit] re-wrote the below :) It's hard to say without knowing more details of your application but I would generally recommend you do this external to the procedure.  It's better for performance, as you ...Show All

  • Visual Studio 2008 (Pre-release) How do I scroll a TreeViewItem into view?

    Is the a ScrollIntoView equivalent for TreeView Thanks, that worked. Is there a way to automatically expand the parent nodes And while we're on the subject, I'm having trouble with MouseEnter and MouseLeave events for TreeViewItems. It's firing the same events for the parent nodes (I understand that the children are technically part of the parent) which is causing problems. Is there away to tie the event handlers just to the TreeViewItem's header without explicitly creating a label for each header ...Show All

©2008 Software Development Network