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

Software Development Network >> Ben Pryor's Q&A profile

Ben Pryor

Member List

Tidane
Valkrye
Dan Delorey
Gerd71
KumarB
Ludy
Sammy1971
TonyDecasca
Seref
jw700
Shotmaker
Transportation_Shane
Eric Schultz
Jay Wise
buddysal
mrayyan
nolan.bailey
Ian Fowlds
Remi Szyndler
RiskSWDeveloper_WorkEmail
Only Title

Ben Pryor's Q&A profile

  • Windows Forms display multiple lines string in textbox

    Hi, I have a multiple lines string and want to display it in a textbox. string comment = "......."; //multi-line string textBox_comment.Text = Program .memberInfo.comment ; I tried the above codes but it displayed all in one line. Anybody can tell me how to display it as the original multi-lines string Thank you in advance. hi, I tested with the following codes string test ...Show All

  • Visual C# How to wrap the capSetCallbackXXXXXX function

    I try the following code: public delegate Int32 capErrorCallback(IntPtr hWnd, Int32 nID, [MarshalAs(UnmanagedType.LPWStr)] String lpsz); public static Boolean capSetCallbackOnError(IntPtr hwnd, capErrorCallback errorCallback) { return AVICapSendMessage(hwnd, WM_CAP_SET_CALLBACK_ERRORW, 0, (Int32)errorCallback.Method.MethodHandle.Value) == 0 false : true; } but the code looks doesn't work, the error cause a NullReferenceExcept ...Show All

  • Visual C# Transferring data from one form to another, is it possible?

    More specifically, I have a form that has as combo boxes on them. When this main form loads, it retrieves data from SQL and I bind these combo's to data tables. However, I manually put an item named <create new customer>. If the user selects that option from the combo, I popup a new form that contains all the customer fields they need to populate. When they click save, what I would like to do is either save the data back to the sq ...Show All

  • Windows Forms graphics flicker problem (double buffer not working)

    I am trying to create a simple Breakout type game. I have a game panel on my form that holds my game (the paddle, ball, and board of blocks). I use a timer with an interval of 10 to move the ball a set distance every tick. The problem is that I also draw the board everytime this timer ticks and it flickers. I tried setting the doublebuffered attribute of my form to true but it didnt help. Anyone have any ideas either a different/ebtter way t ...Show All

  • SQL Server Getting sample databases in Management Studio

    How to get sample database AdventureWorks and AdventureWorksDW deployed in Management Studio. I selected to install sample database entire feature on my local hard drive and I can see it did installed all the .mdf,.ldf,.dim,.cube and the rest in C:\Program Files\Microsoft SQL Server\90\Tools\Samples\ How can I get the database in Management studio. I tried to use Attach db and it didn't worked, gave me following error Msg 1813, Level 16, State ...Show All

  • Visual Studio Express Editions Did I mess up?

    I created a project, unchecking "precompiled header" and checking "empty project" because I simply want an empty page to work on. I finish the creation process and it says it's all good, but it won't automatically open. I thought that was kind of weird, so I try to open it manually from within VC++. It won't open. Then I try manually opening it from My Documents and here's what comes up: "IntelliSense information will no ...Show All

  • Windows Forms Is it possible to create a desktop icon using ClickOnce

    I found only one article about creating desktop icons, but that article (MSDN) ruled out creating desktop icons. Is this possible with ClickOnce or not I know windows installer will, but we have a Smart Client and want to provide a way to create a shortcut to the app on the desktop so people could get to it quickly. Any suggestions Thanks   In regards to auto-starting a ClickOnce app, I hav ...Show All

  • Visual J# ObjectInputStream - cast exception

    Hi; I make the call: ObjectInputStream ois = new ObjectInputStream ( new FileInputStream (serFile)); Document correctDoc = ( Document ) ois.readObject(); And get the exception: 1) testTemplates(net.windward.format.wordml.test.TestWordMLParser)java.lang.ClassCastException: Unable to cast object of type 'System.Byte[]' to type 'System.Object[]'.    at java.io.ObjectInputStream.fillArray(Object obj, Int32 len, Class elemType) & ...Show All

  • Visual Studio Express Editions .net System namespace issue...

    I just set up Visual C++ express, and I'm attempting to fool around with threads a bit.  Unfortunately, whenever I declare the namespace System, it states that it isn't a valid namespace. Anyone have any ideas   What am I doing wrong d:\visual studio 2005\projects\test\test\test.cpp(4) : error C2871: 'System' : a namespace with this name does not exist ...Show All

  • Visual Studio Express Editions Dumb newbie question regarding XP Styles

    Going through the video tutorials which show forms with XP style borders, etc.  However, mimicking those actions of the trainer, I only see plain vanilla-styled form headers and such.  I understand there's a way to "fix" this, but I don't know how.  Any referral links   Note that I have Visual Basic Express on an XP Tablet edition machine. BTW - Microsoft - why aren't XP styles the default for this new version of Vi ...Show All

  • Visual Studio Team System Three questions about the Team System Profiler tool

    A customer recently asked us several questions about the profiler over e-mail. I chose to answer these questions here in case anyone else was wondering the same things. Q.   Will the profiler be available in Visual Studio outside of Team System A.   For the upcoming 2005 release the profiler is only a feature of the Team System SKUs, it will not be in the 2005 version of Professional or Express SKUs. Q.&n ...Show All

  • Visual Studio Team System Useless output from TFS source control

    It pains me to see that even the new Team System source control writes the same pointless drivel to the Output window in visual studio: ---- Operation started at time 3:32:18 PM ---- ---- Operation completed successfully at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation completed successfully at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- - ...Show All

  • .NET Development Deploying .NET 2.0 Apps with Installshield

    My Code Project article covers deploying .NET 2.0 Apps with Installshield. Basically, it involves adding a Custom Action to run a script that starts a program to detect whether the target has v2.0 of .NET installed and then runs dotnetfx.exe as required. http://www.codeproject.com/useritems/InstallDotNet2.asp I've supplied full source code + .exe, the script and instructions for adding it to a project using InstallShield X. There's a ...Show All

  • Visual Studio LocalReport.Render

    I set the Document Map Property for the report and when I export to PDF, the bookmarks tab does not show.  Is there a way to get it to show by default.   Thanks Tim If you're using axAcroPDF (ActiveX object to read PDF's in .NET context) to view your pdf, use this .axAcroPDF1.setPageMode( "Bookmarks" ); ...Show All

  • Smart Device Development data compression on .net compact framework

    I have data I'm transmitting from Windows XP Professional or Server 2003 servers to Windows CE clients. This is low-entropy data that could be compressed quite a bit to reduce transmission time. The System.IO.Compression classes are not available in the .NET compact framework. Is there anything comparable I could use, or should I just write my own compression library Thanks, Deborah I got zlib and the .NET wrap ...Show All

©2008 Software Development Network

powered by phorum