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

Software Development Network >> Alexnaldo Santos's Q&A profile

Alexnaldo Santos

Member List

CodeSweatAndBeers
lori1171963
clkdiv
David N.4117
Bulldog.NET
garynkill23
wei82
DotNet_Student
FrankChen
JohnGBunch
kkos
Mark Pitman
Marshes
aka_Tyr0
d_xflow
James2007
NetDragonKing
moontube
Carl Grainger
SmileSmita
Only Title

Alexnaldo Santos's Q&A profile

  • Visual Studio 2008 (Pre-release) WindowState.Maximized hides the TaskBar

    Hi, I was wondering if this was intended or not, but when you set a WPF Window's WindowState property to WindowState.Maximized, it hides (overlays) the taskbar. In WinForm's, when you set the WindowState property to WindowState.Maximized, the taskbar is still visible. If this is the way WindowState.Maximized is supposed to operate, how would I go about retrieving the position and the size of the taskbar, so that I can adjust the size of the Window appropriately Thanks. Kevin I had more or less the same problem http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=336542&SiteID=1 I fixed this with an ugly Win32 Hook private static IntPtr WndProc( IntPtr hwnd, int msg, IntPt ...Show All

  • Visual C++ How to assign hotkeys to buttons in VS 2005

    Hi As the header says, I am trying to assign hotkeys to my buttons in VS 2005 (I am creating VC++ MFC Applications). In the older versions I used to put the '&' key before the letter eg e&xit to make the 'x' underlined and a hotkey. Can someone point me in the right direction please. I have trawled through help for over an hour and asked all my contacts! Thanks and regards in advance.   I found this issue: I use & to indicate hotkey on, say a button text "&Browse" so that Alt+B is my hotkey.  When I run the compiled program I don't see the underlined B until I tap the Alt key.  Then the underline will appear.  The hotkey is still fully functional. Using: ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. how does dx's SceneManager Example's mesh export from 3dmax or maya with meshtexture and fx file?

    There is a new question coming up, it is how to do the same work as gazeboX.x in SceneManager Example, as it export two materials from maya, one is a common material like lambert but with texture associate with it, and another is directx shader, "textbump.fx" to do some normal map work. but when I try to set up the shader network in maya hypershade, and export it to .x file, it won't export all materials...it just export the first material which is assigned to the object, anyone could help me with that, or demonstrate how does dx's SceneManager Example's mesh export from 3dmax or maya with meshtexture and fx file ...Show All

  • SQL Server Displaying an database image in SSRS Report page header

    How to display an database image in the Report page header of sql server reporting service u can do that esily with the help of parameters which will be useful for bulk reports 1) add a calculated field in dataset named imagebase64 in that add the following expression Convert.ToBase64String(Fields!Photo.value) 2)Add report Parameter named image set the datatype as string. in the default value select the dataset and value field as imagebase64(calculated field) set allow blank-true set prompt-image set hidden-true 3)drag a image in to the page header in the value field add the following expression Convert.FromBase64String(Parameters!Image.value) hope this will help! ...Show All

  • .NET Development Generating sample xml files

    Hi, I have Visual Studio 2005, and I would like to know whether it contains a functionality equivalent to, say, XMLSPY functionality to generate sample xml files automatically from a given schema. Thanks a lot, Pancracio See the article: " Generating XML Documents from XML Schemas " by Priya Lakshminarayanan. Cheers, Dimitre Novatchev ...Show All

  • Visual Studio Express Editions Cannot download VB Express

    I just recently reformatted my computer and cannot seem to download VB Express from the microsoft website. No matter what link I click they all come up errors. I have been getting this alot recently with most any microsoft download. I tried the autoinstaller and the manual iso and img links and none of them work. Is there another place where it can be downloaded I did have it on disc but cannot seem to find it. Thank you, Troy L strong in what sense it shouldnt matter, sure, itll probably take you longer to access if your connection is weak but still accessible. If it times out alot then its to do with the connection, not the MS Servers ...Show All

  • Visual Studio Tools for Office COM exception when trying to add picture as inline shape in Word 2007 RTM

    Environment: Windows 2003 running under VPC, Office 2007 RTM, VS2005 I have a schema attached to the document in question and here is the code snippet which errors out with a COM exception. Dim nd As MSWord.XMLNode = wordDoc.XMLNodes.Add("dummyNode", <<namespace>>, CObj (rng)) Dim img As MSWord.InlineShape = nd.Range.InlineShapes.AddPicture("c:\blah.jpg", SaveWithDocument:= True ) 'COM Exception occurs here when trying to add a picture NOTE: The 'rng' object points to a bookmark inside a text box placed under the first page header section The exact exception trace is shown below: System.Runtime.InteropServices.COMException was caught ErrorCode=-2147467259 Message="Error ...Show All

  • .NET Development Icon near the clock

    I need to put an icon near the clock on Windows Mobile 5 an after that, intercep the click event on the icon. How can I do this Thanks Try using the NotifyIcon class , it appears to be supported in the Compact Framework. ...Show All

  • Software Development for Windows Vista Delay activity - 60 days timeout perid error

    Hi , I have delay activity that is set on period of 60 days. Code for timer initialization: daWaitingForDocuments.TimeoutDuration = TimeSpan .FromMinutes(60*1440); //60 days Value from quickwatch inspector: daWaitingForDocuments.TimeoutDuration {60.00:00:00} System.TimeSpan this code is inside constructor, and it doesn't throw exception. But when state machine workflow enters state with delay activity it throws exception Time-out interval must be less than 2^32-2. Parameter name: dueTm Is there some other way to assign timeout period to delay activity that will work Thanks, Indigo Cowboy Its going to take me sometime to get an example together however here are two section ...Show All

  • Visual Studio Customizing default 'Icon' Property for Win Form Designer

    hello, Every time i start a new Win form in Visual Studio, i want the default icon for my new Win Form set to my icon of choice. Consider if i want the default icon to be : "C:\MyIcon.ico" This way i wont have to change the icon property of new Win Form set to above mentioned icon, everytime i create a new Win Form! Is this possible If yes How Thanks, kan There are two ways of doing this: 1) You can set the icon to a new form and then save it as a template, so it appears in the Add New File dialog. This is the easiest way. 2) You can make an add-in that manipulates the form properties programatical ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Lock texture level and write data to stream

    Hi, Is it possible to lock a texture at a certain level and then write its data out to a BinaryWriter Thanks for any help, -Dave Excellent i see what you mean now. I have been working on it and when i try and write the data from one stream to the other i run into an access violation error. The streams length is huge, just for a simple 256x256 dxt1 texture with no mipmaps. Its length is coming in as 2147483647. Heres the code im using... BinaryWriter bw = new BinaryWriter ( File .Create(file)); gs = textures .TextureImage.LockRectangle(0, LockFlags .None); byte [] chunk = new byte [gs.Length]; gs.Read(chunk, 0, gs.Length); bw.Write(chunk); Is there a better ...Show All

  • Windows Forms splashscreen problem

    Hi, I've got a problem with my splashscreen; I want to show my splashscreen as long my application is not fully loaded and I don't want to use a timer, it must be "real", so I realy want to see it as long as the application isn't fully loaded. And how can I see what the application is currently loading give me an answer if u know something about it regards tom ok so which one gets started up initially the splashscreen or is the main form calling the splash screen can you show us the code for the splashscreen and main form and how they are calling one or the other ...Show All

  • SQL Server deleting dups and keeping only 1 row in a batch

    I have asked this question before and got some great answers, I just wanted to ask this again. I can detect dups easily, is there a way to get a total number of all dups so that I can delete a certain number at a time, then check the total again for verification that that specific number of dups are gone I'm still using 2000. If I delete dups, won't it delete the 1 row I want to keep And I do have a unique identity column. thx, Kat Kat - You can get the dup rows using Group by with Having clause - see example: SELECT ident = convert ( int , 1 ) , name = 'harry' INTO #Temp INSERT #Temp ( ident , name ) SELECT 2 , 'tom' UNION SELECT 3 , 'dick' UNION SELECT 4 , 'harry ...Show All

  • Visual Basic Serial communication with VB6 coding

    I have done quite a bit of programing with VB6 but I have no idea how to write codes for serial or parallel comunication. The book I have is VB5 which says nothing of that sort. I will be much obliged if someone could write a simple code for me or at least tell me the name of a book where I can get detail info on this subject. Kind Regards gingira Welcome to MSDN Visual Basic Language Forum, This forum supports Visual Basic.NET (7, 7.1, 8, ...) issues only, so, your Visual Basic 6 question is an off-topic here and this isn't the best place to ask it, here is a list of forums, newsgroups, resources and sites, to get an answer about your question : Visual Basic 6 Newgroups Visual Basi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. how to delete the threads?

    please tell me that how to delete my threads (formerly threats) It's a tradeoff. It can sometimes be convienient to write multiple overlapping pieces of program behavior in separate threads, but other times it can be a real pain to deal with synchronising all your shared data structures to avoid races. For what it's worth, my last commercial game (on Xbox 1, so there was no performance gain from multiple CPU cores) used threads for the loading screen animation, and for background music, but not for anything else. Networking in particular would have been much more of a pain if we'd tried to run it asynchronously to the game logic. Threads can certainly be a performance gain when they let you take advantage of multip ...Show All

©2008 Software Development Network