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

Software Development Network >> 57Ford's Q&A profile

57Ford

Member List

Ed Glas - MSFT
SwissToni
Jayplus
Jan Stuchlik
ubergeek2
jimsch
Showmaster
phfjeld
KevsInfoQuest
WKleinschmit
laweber3
JBClifton
RoyAF
Hrishikesh Biniwale
cgsdev
arunprakashr
JesseP7
OzMan
CPark72
kthiagar
Only Title

57Ford's Q&A profile

  • .NET Development Method call tracing

    I have a need to log every method that is called in my application, public or private. However, I do not want to have to write something like the following public void Method() { SomeObject.Log("Method Start"); DoStuff(); SomeOjbect.Log("Method End"); } I would much rather write a single class that I can hook into my application windows, or web. Is this possible to do with either attributes or a moduale that I can load if present in the config file Unfortunately, this is not possible today. It's something we're considering for future releases, but f ...Show All

  • Windows Forms whidbey mdi winform

    hiya, I have the above. When i run the following code(within the mdiForm) , the childForm does not appear. Form childForm = new frmCustomer(); childForm.MdiParent = this ; childForm.Visible = true ; childForm.Show();   the actual MdiForm contains a whidbey splitPanel control. Hmm, is there something that I am missing I have put controls on the childFor so that I can see if it has displayed..no joy. Can anyone help cheers, yogi Thanks David, that's the go :-) I also took the opportunity to grab your "dropShadowForm" from your blog cheers, yogi ...Show All

  • .NET Development Terminating Processes from a Windows Service Cleanly (c#).

    Hi, Recently, I have created a Windows Service in C#; that calls a process (writen previously in c). It starts fine, however im unable to terminate the process cleanly, when the Onstop() is called.   Process.Kill() works, but prevents my process from shutting down cleanly (loses data - that I need). Ideally I need to use the CloseMainWindow() method... but this does not seem to work within a service (as a service does not run an interactive GUI... and does not take advantage of the WM_CLOSE message)... Is there a way to send the process a signal; to enable a clean termination Any ideas Best Regards Rober ...Show All

  • Visual C++ pin_ptr and jagged arrays.

    I can't seem to find any specific information on pinning jagged arrays. For example: void SomeMethod(array<array<Byte>^ >^ data) { // ... pin_ptr<Byte> pinnedPointer = &data[0][0]; //... } Does this have the effect of pinning the entire data object or only the array data[0] The docs for pin_ptr only specify that it pins the entire array; but array<array<Byte>^ >^ is an array of arrays. I read in MSDN, it isn't really clear but this is what I understand it does. The sub-object is the item in the array in the array, so the object that gets pinned is the array in the array. The array containi ...Show All

  • Software Development for Windows Vista Which supercedes WinFX Dec CTP or Windows Workflow Foundation Beta 1.2 for Office "12" (Beta 1)

    I see that they both include Windows Workflow and I was wondering if one supercedes the other in some way. Also, what if you want to also try out other WinFX features such as communications and presentation. Does that make a difference as to which of these should be installed Thank you for the clarification. Both versions include WF Beta 1.2.  The January CTP will contain Beta2. Thanks! Arjun ...Show All

  • Visual Studio 2008 (Pre-release) Request

    For the next CTP PLEASE provide a way to disable Cider. The designer is sufficiently broken when working with real files that it is far more trouble than it is worth. The flood of errors it generates completely obscures the real errors in a build. I just had it take 2 minutes to simply decide it could not handle my main window. Until it is more stable and probably more performant please either provide the VS enhancements separate form Cider, or provide a way to open a XAML file without enabling Cider on that file. This is a currently a major impact on productivity. You can make the XAML editor the default viewer for .xaml files: Ri ...Show All

  • SQL Server Is this possible? How

    hello guys, I want to create a report using a bar chart data region from a cube. The cube contains Date and Time dimentions. Here is my question: The catagory field (x-axis) value of the bar chart is dependent on the paramaters value(i.e.StartDate and EndDate). For instance if the difference between StartDate and EndDate is greater than 1 year, the x-axis value for the bar chart should come from the Date dimention and display the year value. Similarly, if the difference between StartDate and EndDate is less than a day, the x-axis value for the bar chart will come from the Time dimention and display the hours value. Does any body came a ...Show All

  • Visual Basic Starting phase 2, need some advice

    Greetings, I am a relative beginner with programming (took a class six years ago, don’t remember much), and I am delving into a “file managing” program for my family’s business. Today I finished phase 1 (of 3). Before I get started on phase 2, I could use some advice. In our business, we receive files (from our clients), each in their own distinct folder, uploaded to our FTP server, located in our office. Each client has their own (password protected) space on the server, and they could upload most any time of the day or night. Phase 2 of my programming venture is to have my software “sweep” each clients designated f ...Show All

  • Visual Studio 2008 (Pre-release) FindResource Returns Unexpected Instance

    I am doing a navigation-style application. I want a single MediaElement instance to appear on multiple pages. Therefore, in MyApp.xaml, I have the following resource defined: < Application.Resources >   < MediaElement x:Key = " SharedPlayer " Source = " C:\Sample.avi " /> </ Application.Resources >   On the pages I want the player to appear, I use something similar to: < Border Grid.Column = " 0 " Grid.Row = " 0 " >   < StaticResource ResourceKey = " SharedPlayer " /> </ Border > To my joy and amazement, this actually works! Now, I would like to control this instance ...Show All

  • SQL Server ClickOnce path names are too long for SQL Server Express identifiers

    I'm posting this in the ClickOnce forums as well... My application doesn't include the .mdf and .ldf files, rather it creates the database the first time the application is run using a script that is included in the build. I want to create the database in the ClickOnce data directory. The problem I'm having is that SQL Server complains when I execute the CREATE DATABASE command as follows: CREATE DATABASE [C:\Documents and Settings\xxxxx\Local Settings\Apps\2.0\Data\PQCK6EXN.5KG\AW630RPT.VGO\ifie..tion_014028c05b1d6ec6_0001.0002_0e86966f19503c89\DataiFieldMobile.mdf] ON PRIMARY ( NAME = N'myDatabase', FILENAME = N'C:\Documents and ...Show All

  • Visual Studio Team System disk space

    How do I allocate unallocated disk space to my c drive. ...Show All

  • Visual C++ Reverse Digits in C++

    Dear C++ experts, I need help with this program: Write a complete C++ program that reverses the digits of a given positive integer. For example if the user enters a positive number 123456 , your program would print 654321. Kind Regards, Ahmed Mahdy This sounds like a homework assignment: you'll probably learn more and find people more willing to help you if you try to solve it yourself and then ask specific questions if you get stuck. ...Show All

  • .NET Development Storing ConnectionString in app.config

    Hi, I'm sure I'm missing something really obvious here, but I can't see it!!  I have a Data Access Layer project (DLL) which contains a typed dataset (just containing stored procedures - no DataTables).  This is fine, and does what I want  except the connection string is stored in the Project Settings. My problem with that is the DAL is used from different WinForm projects which may require a different connection string (two similar databases - one test, one live).  I want to specify the connection string in the app.config of the CLIENT application (the EXE). I can't modify the Settings class itself, as thats ma ...Show All

  • Smart Device Development GPS Sample Latitude/Longitude not correct

    I have a Pharos GPS unit with both the Blue Tooth and USB interface. I used hypertermal on a XP machine with the USB interface to record some raw GPS output. Then I used the file redirect to run the GPS WM5.0 Sample code in VS2005 WM5.0 device emulator. It displays the correct information on the screen Lat 42 / lon 83 when reading the raw GPS data file that I created. When I move the program to my WM 5.0 device and connect up to the GPS unit over BT, I get strange readings for the lat/lon. Lat 0d 42' 24.36 Lon 0d 83' 28.65. They look shifted right. What is degrees show up in the minutes. The number of satellites and time are correc ...Show All

  • Visual Studio Tools for Office Is it possible to use Globals class outside the "Code behind an Office document"

    Hi!I need to change the view od Action Panel from Commend Line .Net Application. Is it possible to use in this case Globals class for example to achieve this: Globals.ThisWorkbook.ActionsPane.BackColor = Color.Aquamarine;Thanx a lot! Hi ivanbydg, A VSTO customization assembly is started internally from MS Word when loading a customized document and you cannot pass a command-line arguments to it, so I am not sure how are you planning to set the ActionsPane.BackColor property from the command-line. Would you please elaborate on your scenario some more ...Show All

©2008 Software Development Network