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

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

tecxx

Member List

paschalia
Andriyko1
SteveBender
l4ci
levogiro
Mashuri
Gabriel_M
Ozan Cetin
Xtraeme
Dika
Benjamin00
Rusty Deschenes
Maigo
mkbbrt
jlm890
Anand Desai
HelpMePl0x
wooten
Jon Erlend Mathisen
SwingLifeAway
Only Title

tecxx's Q&A profile

  • Visual Basic Launching a Precess from Ram

    Starting a process requires a file path to a disk location.  I would prefer to not create temporary files on client computers for a number of reasons.  Can love or money buy a way to start a process from memory with the data file represented as a byte array or a memorystream.   Thanks, Fred Herring No, a ram disk is out.  If I don't want to write to a clients disk space, I definitely don't want to steal his/her memory.  I would like to leave the thread open for other comments.  It seems like such an obvious capability for launching a process.  I know of two third party component makers (Farpoint ...Show All

  • Visual Studio Tools for Office MailItem Properties

    Hi I would like to set custom properties on a mailtiem. The custom proerties needs to be accessible for all user, so I guess the UserProperties won't work. Is there some other way of doing this The actual need is to set a reference number which is GUID that can identify the mailitem in the future. please help Hi, You will be able to get a much quicker and effective response by posting this question to the Outlook forum as it is related to the Outlook Object Model. http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=US Th ...Show All

  • SQL Server Connection handshake failed - easiest possible configuration

    Hi there! Often discussed, but not really solved in my opinion - the connection between the partners and the witness causes problems. My case: Three Servers in the same domain, three endpoints on 5022 with windows negotiation, all endpoints can be reached by telnet from each server. Mirrorring works. So far so good. But one of these partners is not able to connect to the witness. The witness' error log is full with that: "2006-06-01 13:45:20.32 Logon Database Mirroring login attempt failed with error: 'Connection handshake failed. An OS call failed: (8009030c) 0x8009030c(Der Anmeldeversuch ist fehlgeschlagen.). State 67.' ...Show All

  • Windows Forms Host Designer

    I'm following the article  http://www.divil.co.uk/net/articles/designers/hosting.asp Ok well it's a pretty simple question. lets say I have a control with a Child_Form property ok,  how to I select another form if only one is loaded in the host at a time. I figured out how to load another form but it shows up on it's own and I have to set the showintaskbar& ...Show All

  • Visual Studio Express Editions Strange string problem in vb?

    I am currently making a program that reads the ID tags from an MP3. Here is my problem or an example of my problem. Lets say I have the artist showen in a msgbox and the song title showen in a seperate msgbox like so: msgbox(artist) msgbox(song) The msgbox will appear and show the correct info. But lets say I do something like this: msgbox(artist & " - " & song) it will ONLY show the artist, but this doesn't happen all the time, depending on the MP3 that is read, it will display just as I want... What I really want to know is what can cause it to not display the rest of the string like I want it t ...Show All

  • .NET Development Implementing interface in Web Service

    I seem to be having some problems implementing an interface within a Web Service. Here is basically what I have for my code-behind for the ASMX: public sealed class Service : System.Web.Services. WebService , ClassLibrary. myInterface { public Service () { //Uncomment the following line if using designed components //InitializeComponent(); } [ WebMethod ] public string HelloWorld() { return "Hello World" ; } [ WebMethod ] public string GetDate() { return DateTime .Now.ToString(System.Globalization. CultureInfo .CurrentCulture); } } And in the ...Show All

  • Windows Forms Tutorial on creating controls

    I want to extend the Textbox class. I can do it in a basic way: Public Class NewTextBox   Inherits Textbox But I want to change some of the look and behaviour. Unfortunately I'm not quite sure how to go about it. I would like to see a tutorial (I did a search but couldn't find what I was looking for) or take a peek at a bit of& ...Show All

  • Visual C# Empty C# application use almost 20mb memory

    I just started learning C# and decided to make a small alarm application, like an egg clock. And after a while i noticed the alarmclock used almost 20mb of memory when it was minimized to the systray. If i minimized normaly it went down to 1mb, and when it’s on normal form it uses 20mb again. I also noticed that its the exact same thing with a empty C# application. Why is that A small windows form with a button, textBox and timer should not ever use 20mb of memory. Hi, In addition to that, there is another factor that comes into picture: If you are observing the "Mem Usage" column in task manager, all .N ...Show All

  • Windows Forms Format

    hi how can i format numbers in C# i have tried this but it did not work label1.Text=String.Format("350","#.##"); like in vb but it did not work how can i do it plz tell me Checkout the NumberFomatInfo class the above would be label1.Text = (350).ToString("F2"); there are some other possibilities see <a href="http://www.windowsforms.net/Forums/ShowPost.aspx tabI ...Show All

  • Windows Forms Menu makes application non-responsive

    In my application, I launch a subroutine from a different thread (using the form's invoke function). Normally, this works very well. However, if the user has his finger on a menu item when the subroutine is invoked, then the whole application becomes non-responsive until the subroutine is complete. Is there any way to avoid this    Yes, th ...Show All

  • Visual Studio Plugging into MS.VSIPCC with H2Reg problem...

    I am integrating a help 2 file into VS 2005 using H2Reg. Everything seems to be ok, except the actual plugin of the namespace into the MS.VSIPCC, as the log shows... Anybody has an idea where to look The help file is generated with Teegofer from Steema... =============================================================================== Log File:              C:\Programming\Olvio\PlusDock2.0\Installer\Help\H2Reg_Log.txt Date:                  7/10/2005 2:36:08 PM Operating System:    ...Show All

  • SQL Server De-normalising query

    OK. I know this can be done with cursors but would like some pointers on if SQL 2005 provides any more elegant solutions. Basically I have 2 tables ... TableParent(ParentPK, ChildFK) TableChild(ChildPK, ChildValue) For each row in TableParent, TableChild may have up to say 5 rows. I need to transform this into a table containing at most the first 3 ChildValues (ordered by ChildPK) of the form ChildValue1 Childvalue2 ChildValue3 Any tips on how this could be achieved by a more efficient means than cursors Thanks, Greg. I think I found a more elegant solution for you with SQL2005 First I created #tmp t ...Show All

  • Windows Forms BackgroundImage and Stretch with transparent child controls.

    Trying to build a nice transparent alpha blended UI over top of a background image that is part of a form.  Now, I'm not quite sure what is causing my problem, perhaps ambient properties or just a bug somewhere but the following is happening: 1.  The Form displays a fully stretched image.  This is fine. 2.  The child controls each paint  ...Show All

  • Smart Device Development Forms closing despite OnClosing being overridden (usually on wake from sleep)

    I've got some forms that I want to keep loaded on the PPC, and as a result, I've cancelled the OnClosing event that is caused by the WM_CLOSE message as Windows CE attempts to free apps to free memory. This seems to work well when I switch apps etc. The WM_Close is sent to the app, and the WM_Close is cancelled. The problem I am having however is when I sleep the device and power it on at a later time, some of the forms I have loaded, unload. Is it possible that a more hostile message is sent to the app when resuming the device which causes some of these forms to unload (wm_destroy) Thanks again! Appreciate any help! pocket ...Show All

  • Windows Forms Setting TextBox MaxLength from DataColumn MaxLength

    I've got a TextBox bound to a column in a DataTable. I want to programatically set the MaxLength of the TextBox to the MaxLength of the corresponding DataColumn. The DataSource Wizard (surprisingly) doesn't do this. How can I do it Here's the answer private void SetLengths(Control cp) { foreach (Control c in cp.Controls) if (c is TextBox) { Binding b = c.DataBindings["Text"]; if (b != null) { BindingSource bs = (BindingSource) b.DataSource; (c as TextBox).MaxLength = ((DataSet) bs.DataSource).Tables[bs.DataMember].Columns[b.BindingMemberInfo.BindingField].MaxLen ...Show All

©2008 Software Development Network