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

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

doubletree

Member List

G. Dean Blakely
drizzed
Hoodwinked
arkiboys
SBorch
Keith Chapman
Brian OByrne
MtEvans
jon_c04
GregMaxey
Muralee22
Joe Sanders
Kallex
mahima
Tall Dude
Daikoku
FilipeTB
AnthoDesigns
PSDCHD
Peter Peng
Only Title

doubletree's Q&A profile

  • Windows Forms Form's - Border Color

    Hi, How can I change form’s border color Or is there any method to hide/show form’s border at runtime. Either one will work for me. Ex: If user wants to keep background green, border also should change to green color. Best % V You can't change the form's border color, it is controlled by the current XP theme. Or system color if you don't use theming. You can hide the form border at runtime. Not sure if you'd want this, you'll also lose the caption bar: private void button1_Click(object sender, EventArgs e) { if (this.FormBorderStyle == FormBorderStyle.Sizable) this.FormBorderStyle = FormBorderStyle.None; else this.FormBorderS ...Show All

  • Audio and Video Development Getting a VC-1 file ready for advanced content authoring

    Hi all, I just started to author advanced hddvd content but i vailed in getting a valid video content to test my first project. is it possible to multiplex a VC-1 file with the Sonic authoring system for standard HD content in a way that i can use it for my first advanced content project I tried to import the vc-1 file into sonic, generated a simple autostart HDDVD, multiplexed it and used the HVDVD_TS folder for my advanced content project but it didn't work. The Nero Showtime softwareplayer diplayed the menu correctly but didn't play the video. I also tried to burn a dvd rom and inserted it into my Thosiba HD_DVD player but it just displayed the disc error 0x4095C501. Can anybody help me thx mikeret ...Show All

  • Software Development for Windows Vista How to access a network shared folder with admin privilege when UAC enabled?

    Hello, When 1)UAC is off and 2)a folder is network shared with Administrators read only privilege and 3)share mode is classic - local users authenticate as themselves, it can be accessed from other computer after inputing admin ID/password. But when UAC is on, this access is denied despite correct ID/password input. The error message is " \\mypcname\sharename is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. Access is denied ." Even when I try to access the shared folder locally, the access is denied. I suppose UAC may change authenticated admin privilege to least privileged account and so this least privileg ...Show All

  • .NET Development Creating Image File: Parameter is not valid.

    Hi everybody, I am creating an image(jpeg) file from stored bytes[] in sql database, Varbinary datatype, (I used Image datatype also same result), I am using this jpeg image file to set to a Image web control, what seems the problem and how to fix this problem Do I have proper datatype in sql to store converted jpeg file data Please provide codes. Thanks. [code] string sqlText = "Select * From PictureImages Where ImageName = @ImgName"; SqlCommand cmd = new SqlCommand(sqlText, conn); cmd.Parameters.Add("@ImgName", SqlDbType.VarChar, 20, "ImageName").Value = txtImgName.Text.Trim(); if (conn.State == ConnectionState.Closed) conn.Open(); SqlDataReader dr = cmd.ExecuteReader(); string filePath = Request.PhysicalApplicationPath + ...Show All

  • SQL Server Problem with System.Data.SqlServerCe.dll

    I believe I've encountered a compatability problems with Visual Studion CF 2, specifically with the System.Data.SQLServerCE reference when trying to run (in debug mode - Pocket PC 2003 emulation). The environment is configured as follows: Visual Studio 2005 - Compact Framework 2.0.50727 Microsoft SQL Server 2005 Mobile Edition The (VB) project includes the following references: System.Data.dll V2.0.000 from Program Files\Microsoft Visual Studio 8\Smart Devices\SDK\Compact Framework\2.0\V2.0\WindowsCE System.Data.SqlServerCE.dll V3.0.5214.0 from Program Files\Microsoft SQL Server Mobile Edition\Device\Mobile\V3.0 The IDE does not sense any problems with the following code until I try to run it in debug mode using the P ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. EffectPool -> Effect -> blocks of SetParameter calls

    I'm curious what others think of this: https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=192108&SiteID=226 I'd appreciate any comments. Hi, What you said in your suggestion here: "Now lets say that for Sphere B, I want to change the diffuse. I need to either put the diffuse back the way it was when I am done rendering Sphere B, or add a diffuse set call to the parameter set code block for Sphere C!" Surely still applies for the EffectInstances you mention here: "Allow me to create 3 EffectInstance objects, one for each Sphere. When I construct the EffectInstance objects, I will set the parameters upfront and use the EffectInstance for drawing instead of th ...Show All

  • Visual C# Samba share security.

    Hello! I got few guestions: Is windows sending samba password as plain text if yes { I want make a upload for samba share, and at least password should be sent as crypted so it couldnt be sniffed. So how i can crypt/ totaly hide the password } Its storing them as crypted in server tough.. if someone has share some knowledge... All help is welcome. ...Show All

  • Visual Basic Unicode utf-8 conversion to vb.net

    My Problem is to show the arabic string in vb.net... Basically we are importing the data from MySql to Access... The arbic strings are converted perfectly into unicode utf-8 format... for eg: ' محمد عبدالله العتمة ' these unicodes are in number.. but vb.net uses its equivalent Hexadecimal codes like & #1605; = &H645 & #1581; = &H62D & #1605; = &H645 etc.... and the hexadecimal displays fine in vb.net... Is there is any code/syntax in vb.net to convert the unicodes number(& #1605; & #1581; & #1 ...Show All

  • Visual Studio Team System checkin question

    Hi all, I need advice, imagine the following scenario: I have a project that is already checked in in TFS (this project is a VS2003 project and was stored in source safe before). Now we ported this project to .NET2.0. The required changes were applied in a local folder that was NOT under TFS control. So now I should check in all changes of the ported project into TFS. Now I'm looking for a reasonable way to do this. In SourceSafe I would simply start a search on the root folder for files that are different on my local machine. When all these files are found I would check all of them out with the option "don't get local copy". Once they are checked out I could simply check them in and that's it, all changes are in SourceSafe So fa ...Show All

  • Windows Forms Adding a Handler to Multiple Controls (including child controls)

    Hello, I want to automatically select all of the text in a textbox when the textbox receives focus. I have this code: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim ctrl As System.Windows.Forms.Control For Each ctrl In Me.Controls If TypeOf (ctrl) Is System.Windows.Forms.TextBox Then AddHandler ctrl.GotFocus, AddressOf Me.Textbox_GotFocus End If Next End Sub Private Sub Textbox_GotFocus(ByVal sender As Object, ByVal e As EventArgs) Dim txtbox As System.Windows.Forms.TextBox = sender With txtbox .SelectionStart = 0 .SelectionLength = txtbox.Text.Length End With End Sub ...which works, to a p ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to get amount of free/total local video memory?

    Current properties and methods (HardwareCaps.VideoMemoryTotal, Device.AvailableTextureMemory in April 2006 SDK) are returning local+nonlocal amount of memory. Is any way in MDX how to get amount of local video memory only Thank you, mikrogen Hi all, I have the same question (I use DirectX9 C++). In some computers AGP memory is VERY slow (old laptops for example), for this reason I would like to know VRAM amount, to decide if I will use hardware acceleration or my software engine. Is it possible to know VRAM in video card (without AGP memory) Thank you fiero ...Show All

  • Internet Explorer Development Animated Gifs

    Hi Everybody!!! It seems that there is a problem with Internet Explorer 7: I have a web page with animated gifs that works fine with Internet Explorer 6... but it seems that these animated gifs don't work well with Internet Explorer 7. Now, from the begining: I created a web page in which I use some animated gifs to roll-up buttons. I use the traditional approach in which I load the gif image first into an array, as follows: document.images[this.lngImageIndex].src = this.arrAnimationLib[this.lngNextAnimationSequence].imgAnimation.src; Where: "this" is the typical JavaScript class implementation, arrAnimationLib is an array of objects, who then they have "imgAnimation" as a property which is an obje ...Show All

  • Visual Studio "Unable to start debugging" error on x64

    I'm using Visual Studio 2005 (SP1 beta) on Windows Server 2003 Enterprise x64 Edition. If I create a new project (Console or Windows application) and then press F5 I get an error dialog stating: Error while trying to run project: Unable to start debugging. Either the applicaiotn has not called WSAStartup, or WSAStartup failed. This happens with the active solution platform set to either "Any CPU" or to "x64". If I change the active solution platform to "x86" everything works fine. Does anyone know what might be causing this problem and how to fix it Thanks, John. Thanks for the help - great to hear this will be fixed in the final SP1. In addition to specifying the start pag ...Show All

  • Windows Forms progressbar while dataset is loading

    I use a dataset to load around 1000 records into a DGV. How can I show a progressbar while a dataset is being loaded Ah ok, I see where your at. Well I'd suggest just looking at the backgroundworker1_DoWork() function. Thats the one that is does all the work on the background thread. Thats where you load the data into the dataset (or call a function that loads the data). While you're loading the data, just call the ReportProgress() function on the BackgroundWorker object any time you want ot update the progressbar (see the ComputeFibonacci() function for that). The call to the ReportProgress() function will trigger the ProgressChanged event on the BackgroundWorker. So in the example, an event ha ...Show All

  • SQL Server Adding Table to Dataset for SQL Server Mobile causes VS 2005 to lock up.

    I am running VS 2005 Professional Edition Windows XP profession with Service Pack 2 SQL Server 2005 Developer Edition. WHAT I HAVE DONE: I have a database running in an instance of SQL Server. I set this up for merge publication and then set up a SQL Server Mobile Edition Subscription to that publication.  After a few oversights I got everything working.  The Mobile database replicated just fine.  I went back verified all data was there.  Can make queries to it.   PROBLEM:  I set up a new dataset to use tables from the SQL Server Mobile database.  If I drag one of the tables to the dataset, VS 2005 simply stops responding.  It is not using any processor. I click any place ...Show All

©2008 Software Development Network