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

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

Malcy

Member List

xiii29
Ben Arnold
Imanol
gafferuk
shekhar saran
Jyothi G
Jubber
Supriya Admulwar
Michael Herman - Parallelspace
Ram v
Giber
iGNiTe
adwins04
NickNotYet
rae_mel84
Karim Hemani
Olivier .NET
elvis8900
GroZZleR
EGutierrez91
Only Title

Malcy's Q&A profile

  • Microsoft ISV Community Center Forums My mini Utility_Move class, please have some suggestions.

    Hello guys, I made a class called Utility_Move. Please give me some suggestions. If there is a better, cleaner, more performance way than mine, please tell me, thank you. 'Motive: Sometimes it is eaiser to debug when you use ActiveCell as current data record or parameter. '   When the macro stopped by exception or stop sign, you can determine the running progress by ActiveCell. '   And it is easier to say Up(5) instead of offset the row index, for me at least. 'Summary: The Utility_Move class introduce 3 sets of functions. 'First set, Up-Down-Right-Left simulate the key stroke of arrow keys. '   Additionally, Steps parameter allows you to repeat number of seps to that direction. '   Negative st ...Show All

  • Visual Studio 2008 (Pre-release) Check also the SE_SECURITY_PRIVILEGE

    In some environments (like ours) developers have admin on the local machine even whilst they don't have the SE_SECURITY_PRIVILEGE ('Manage Auditing and Security log') right. This causes the .Net RC1 framework install to fail, with an unhelpful error (as it does many hotfixes btw) The way to find the underlying cause is to paw through the various install log files in your Local Settings \ Temp folder (dd_dotnetfx3install.txt et al) until you find the one that's got the actual error in it. Then things become much clearer. Hope this helps someone ...Show All

  • Software Development for Windows Vista Inconsistent File System Enumeration with FindFirstFile / FineNextFile

    I'm working to get a commercial application to run on Vista. Among the many broken things, the first one I encounter is a crash due to a stack overflow due to a recursive function that goes bad. The app enumerates files in various places using FindFirstFile | FineNextFile in a recursive function (C++). I'm using retail Vista Ultimate with VS 2005 sp1 plus the VS Vista update beta. What I see in the debugger is that when I start out enumerating drive "c:", I come to the "Documents and Settings" folder and recurse into it. When I get to "c:\Documents and Settings\All Users\Application Data", FindNextFile then returns "Application Data" over and over again and I recurse into "Application Data&qu ...Show All

  • Visual Basic How do you manage your controls if there are many many controls placed on the forms?

    Hi I would like to know how do .net developers manage a large window application with a large number of controls, such as textbox , button, groupbox I have seen a number of people do it this way : declare the controls as an array and initialize them one by one at run time . In this way it is easy to manage those controls because they can be accessed by array index; but this solution seems to require very good understanding of control's attribute such as its location, font etc. This could be a difficult task if the project is passed on to a less experienced developer and add changes to it. How do you deal with it Thanks, You can also create a user control, I have created ones that have over 100 textboxes, about 75 labels, 5 ...Show All

  • Silverlight (formerly WPF/E) FlowDocument coming to WPF/E?

    Will the FlowDocument and rich typography features of WPF also be available on WPF/E I can image a lot of great applications of this. Karl Microsoft has stated that the document aspects of WPF/E and the clear type typography that supports it will not be included in WPF/E because of the targeted download size. Apparently the typography includes a lot of data for things like kerning, ligatures, and word breaks that would add several megs to the size of the download. ...Show All

  • Visual Studio Forcing a break on __debugbreak()?

    I call __debugbreak() in Visual C code in Visual Studio 2005 to force a break in certain instances.  However, when I hit the call to __debugbreak() while running under the debugger, Visual Studio always displays a dialog that says: MyApp.exe has triggered a breakpoint. with Break , Continue , and Ignore buttons (the Ignore button is disabled).  I always have to press the Break button to break into the debugger, which is kind of annoying. Is there anyway to tell Visual Studio that it should always break into the debugger in this case   I couldn't find an option anywhere for this. This is quite unpleasant for us as well. We actually use our own macro system for handling asserts which ...Show All

  • SQL Server Troubleshoot Distributed Service Broker App

    Hi There Ok i have done the following on my target instance i have created an endpoint, xml schema, message types, contact, activation sp , queue and service. On the initiator i have created an endpoint, a route to the target service, same xml schema, same message types, same contact, queue and service. When i try test this by doing the following: SET @msg = CAST ( @body AS XML ) BEGIN DIALOG CONVERSATION @dialogHandle FROM SERVICE [http://ewx.co.za/DemoInitiatorService] TO SERVICE 'http://ewx.co.za/DemoService' ON CONTRACT [http://ewx.co.za/DemoContract] ; SEND ON CONVERSATION @dialogHandle MESSAGE TYPE [http://ewx.co.za/DemoMessage] ( @msg ); END CONV ...Show All

  • Visual Studio Express Editions Can anyone help me count letters?

    In VB 2005 express: I am writing a 'word calculator' program that: -Uses the textfile in "textfilecontents" (textbox) -Scans each character, from each line of 'textfilecontents' Here is what I've got so far: -If the character is a letter, then: -convert the unicode value of each char to it's base value. (A=1 B=2 C=3 D=4, ect.) -adds the base value of each letter to 'TALLY' (integer) -display character read to "txttallied" (textbox) -If the character is NOT a letter, then: - display the character to "txttallied" (textbox) - don't add to tally (only letters are counted) -If the character is a carriage return: then: -display TA ...Show All

  • SharePoint Products and Technologies VSeWSS

    When can we expect the next release of VSeWSS I am getting the error mentioned in other places (blogs and newsgroups) where I can't build and deploy the same project twice (works the first time, errors out each time after). Hi I am programming on MOSS and got into exactly the same problem. Did you find a solution for MOSS Thank you Max ...Show All

  • .NET Development how to change item color in a listbox

    I want to change the ForeColor of a single Item in a Listbox. If you know how please tell me thanks Hello All. bola shokry: You have to set the "DrawMode" Property to "OwnerDraw" (either fixed or variable) and handle the "DrawItem" Event. See this article for an example. HTH. ...Show All

  • Visual C# c# killing explorer, and keeping it that way.

    I'm using the method below to kill explorer. But everytime i do so, it decides to boot back up automatically. How can i make explorer stay dead System.Diagnostics.Process[] p = System.Diagnostics.Process.GetProcessesByName("explorer"); for(int i=0 ;i<p.GetLength(0);i++) p .Kill(); Thanks in advance. Even running another shell only performs some of the tasks that Explorer performs. Explorer deals with servicing many of the shell apis, not something a Shell replacement does. "...doesn't have to run for Windows to function like Microsoft wants it to function..." Yes, as in you want Windows to work... If you want Windows to work properly Explorer needs to run. ...Show All

  • Visual Studio Visual Studio 2005 and SourceSafe 2005

    I am having a problem when I try to connect to my Sourcesafe database online through http. I followed the instructions, and everything seems to be configured correctly, but when I try to access sourcesafe through visual studio on my computer, I will go through the add sourcesafe database wizard, and then I continue to get the error message "The sourcesafe web service cannot be accessed at the specified address". It then says that the server returned the following error: A Connection with the server could not be established (0x80072EFD). I was hoping someone would have some pointers as what I need to check or reconfigure to get this opperational. Can you give me the link to the instructions you ...Show All

  • Windows Forms DragDrop

    Hello I have a problem with dodragdrop function. When i add DoDrapDrop function to the MouseDown Event the Click and DoubleClick events are not triggered anymore. I created a new control derived from usercontrol. Does anyone knows how to solve this. Thanks, Jan private void picThumbnail_MouseDown( object sender, MouseEventArgs e) { Control source = ( Control )sender; source.DoDragDrop(source.Text, DragDropEffects .None); lblFileName.Text = "dragdrop" ; } private void picThumbnail_DoubleClick( object sender, EventArgs e) { lblFileName.Text = "double" ; // not executed when double click the control } H ...Show All

  • SQL Server Error 0x80040154 exporting to excel, class not found

    Hello, I am doing a SSIS package that is going to export the value of a table into an excel file. I have set Run64bitRuntime debugging setting to false to can utilizate this export, here all goes well, but now I tried to go a little more far and I want to execute this package using the ms-dos command dtexec, and it's here where it gives me the error that in a first moment I has solved changing this set to false. Has anyone any idea of why it is giving me that error ...Show All

  • Windows Forms Rows Removed

    I have a DataGridView where the user can delete rows. I do the delete in the DataGridViewRowsRemovedEventHandler. This works fine. Except when the user does a search again to refresh the DataGridView the rows are removed and the delete happens again. So then I tried to actually check for the delete key to be pressed but... well I am lost. private void DataGridView1_RowsRemoved( object sender, DataGridViewRowsRemovedEventArgs e) { dataGridView1.EndEdit(); if ( MessageBox .Show( "Are you sure you want to delete this row " , "Confirm" , MessageBoxButtons .YesNo) == DialogResult .Yes) { cnSQL = new SqlConnection (ConnectionString.Text); cnSQL.Open(); cmdSQL = new SqlCommand ( ...Show All

©2008 Software Development Network