syperk's Q&A profile
Visual C# Hiding the vertical scrollbox on a multiline textbox
Is there a way in c# to hide the scrollbox (on the right hand side of the control) on a multiline textbox In order to remove all of the scrollbars, set the ScrollBars property to ScrollBars.None. To remove just the one on the right and leave the one on the bottom... set the ScrollBars property to ScrollBars.Horizontal. ...Show All
.NET Development Byte array -> String encoding
Greetings and sorry for the likely newbie question. I also hope this is in the right forum! What's the most "pure" way to encode a Byte array into a String I've performed several searches but none have yielded much insight into my particular problem. I'm using C++, COM Interop into a VB6 application that uses a String return for socket class, but the actual issue is in the .NET native code. Using: Encoding::ASCII->GetString(byteArray, 0, iNumBytes) .. converts values >7 bits to a replacement value... and Encoding::UTF8->GetString(byteArray, 0, iNumBytes) .. truncates the higher value chars from the conversion totally.. ...Show All
Visual Basic msgbox not working after upgrading to XP - SP2
I'm working on ASP pages with calls to COM+ DLL on XP platform. I wrote a method that simply call "msgbox" and display a value. I used this method to debug my ASP pages. It worked until I upgraded to XP-SP2. Now, it totally ignores msgbox call. Did Microsoft change the behavior of the msgbox or is there something else I need to do in SP2 to make this work I'd been searching the web for a couple of weeks and can't find any mentioned of this. Any help is appreciated. It's possible that SP2 adds some popup blocking to IE, I can't recall. I'd check the IE settings to see if there's a popup blocker run ...Show All
Visual Studio Team System When do reverse deltas take place?
The TFS FAQ mentions that the server creates "reverse delta" of both binary and text files "asynchronously as a background task". I'm unable to find any other information on how or when this reverse delta creation happens, what factors affect how long it takes, and if it can be controlled. Is there any documentation on this In addition to just wanting to know, I'm interested in understanding reverse delta creation as I am experimenting with using TFS as a large binary data file version control system. I'm working with a company that has to manage large binary data files (not documents and which cannot be easily convert ...Show All
Architecture designing an online & offline application... what methodology to use?
Hello, I am at a stage where I want to develop and application that will work the same whether if you are online or offline. I can always write an application that hooks up to a server while online (connected to a network) and queries a db for the interactions bewteen the user and the app. Then when offline have another app that looks at the local database... but i don't want to write two apps... I want to build an app like outlook where its just the one app that lets you work online or offline... what is the best method someone said to me use xml to store data localy and pool that so often from the server. The application sh ...Show All
Windows Live Developer Forums Server side scripting ?
Just a little question, I could not find out if server-side scripting is allowed with the World's Best App competition. If so, what kind of server side scripting will be allowed ASP, ASP.net PHP, MySQL - joost Ps. congratulations with the release of this great idea! Hi Joost, You can absolutely use server side scripting. While we would *like* to see you use ASP or ASP.NET, the contest rules don't prohibit using any of the products you mention above. The specific limitation for contest apps is that they do not use any ActiveX controls on the pages which are loaded in the MSN Messenger co ...Show All
Smart Device Development add control problem with multiple framework
Without the stackform, everything works perfect but when I add a toolbar I get an error at line this.Controls.Add(this.toolBar1); ,if I comment all lines with toolBar everything works perfect error: $exception {System.Exception: Exception at Microsoft.AGL.Common.MISC.HandleAr() at System.Windows.Forms.Control._SetParent() at System.Windows.Forms.Control.set_Parent() at ControlCollection.Add() at DeKangoeroe.KMaankomst.InitializeComponent() at DeKangoeroe.FormStack.Preload() at DeKangoeroe.FormStack.Push() at DeKangoeroe.Menu.btnKMreg_Click() at System.Windows.Forms.Control.OnClick() at System.Windows.Forms.B ...Show All
Visual Studio VS2005 Include Folder configuration madness
Hiya, We're in the process of testing one of our add-ins against VS2005 Pro RTM, and along the way we are encountering some very, very odd behaviour. The latest to surface relates to the Visual C++ include folder configuration. In VS2002 and VS2003 you can simply grab a VCPlatform object directly from EnvDTE::Properties:Item(L"Platforms") and use it irrespective of whether a solution is open. Unfortunately, the Platforms property has gone in VS2005, to be replaced by "IncludeDirectories", which contains the raw (i.e. including macros) include folder configuration. So far, so good...except that we still need a VCPlatform object ...Show All
Visual C# GDI form transparency problem
I'm trying to draw a transparent form using GDI, by overiding the OnPaint and OnPaintBackground event handlers. This technique works well enough on the first draw,and it produces a nice result, however, on subsequent draws, it works less spectacularly. For some reason, the screen is never cleared, and when it redraws the new things are composited ontop the previous draws, making the transparent images darker and darker. Here is the contents of protected override void OnPaint(PaintEventArgs e) { Graphics g = null; Assembly assembly = Assembly.GetExecutingAssembly(); Point point = new Point(400,400); backBuffer ...Show All
Windows Forms Reading command line arguments
Hi, How can I receive command line arguments in VB.net I want to recieve the string arguments and based on the argument I want to make certain buttons on my windows form visible or invisible. Thanks, The arguments are also available with the Environment. GetCommandLineArgs method. There's no need to change the Main method this way. ...Show All
Visual Studio Express Editions VC++ noobie questions
hi. I have just downloaded VC++ Express edition. I have earlyer some experience with good'ol qbasic,been digging around in assembler on the amiga, and and now recently working with Flash and actionscirpt. good fun, but... But now i want to learn VC++ Where should i start I have no C++ experience, So what i really need is a hello world start, and a good free online book. soo... can any one help me out Cheers! Bjorn erik Try the books recommended at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=107484&SiteID=1 . Also, use the online help at http://msdn.mic ...Show All
Visual Basic Crazy IDE
Hi All, Just after started to add controls to this new Tabbed app, the IDE shows the move cursor (the crossed arrows) and just flashes the cursor until I go into the taskman and return...It's scary to think a whole nights work could be undone by a misbehaving IDE. Have any of you experienced this odd behavior This has also happened in other apps in W2K, and XP Pro as well. Thanks All! Elgee If you could report the issue along with steps on how to reproduce it, or if you still have a project that is broken, I would suggest that you report it on http://connect.microsoft.com/ This will let the appropriat ...Show All
Windows Forms check database structure when update
often, a program update is accompanied with a database structure change. I can write code in program to check a missing index or fields size change or new table, but I don't want to check that every time program starts. My question is how can i make program check database structure only if the program is a new update. I have heard something about system.deployment API, is it the way to go Thanks Excellent - I wasn't sure if that would just work for the original installation ...Show All
Visual Studio Problem with underline Text in Crystal Report in justify Alignement
Hi All, I have a Windows program written in C# using VS2003 and used crystal report for reporting purpoe. I am facing problem in underline Text in Crystal Report in justify mode. Problem is that underline breaking between Two Word Like ( Crystal Report for Visual Studio ). I want continous underline ( Crystal Report for Visual Studio ). There is no problem in left and right align. Do I miss any thing How to I make the Continous underline for printing to printer I have also checked VS2005 Beta2. This problem still with this versions, Thank & Regards Jay I had the same problem also ...Show All
Visual C# System.Web.HttpUtility
Hi! I'm currently using the VS Beta 2 to reprogram a project first done in the 2003 version. The problem is when I'm trying to use the HtmlDecode method in System.Web.HttpUtility class, the only thing I get up as possible methods are the three ASP... methods. Is there anywhere I can download an upgrade for this Or is there maybe an alternative method to use Thanks! /rosin Did you manage to solve this I've got the exact same problem. Tried everything and I just can't figure it out... Would be most thankful for any help you could give me. ...Show All
