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

Software Development Network >> Luc Pettett's Q&A profile

Luc Pettett

Member List

sticky
Yannis Angelis
greenmonkey
YvesR
OasisGames
Yeshia
lysy95
Hauchmahler
markand
spree
ThomasJaeger
toughtalk
Jocker23
laker_42
BrollyLSSJ
Michael Chancey
Shinmen
Pandaurae
Bill Reiss
Shinny
Only Title

Luc Pettett's Q&A profile

  • Visual Studio SandCastle, Msbuild, and H2Reg

    I have updated to the Oct 17 version of sandcastle and update msbuild scripts for the changes in this version. I am successfully building an hxs and can view it correctly with h2 viewer. However, when I register the collection to integrate it with Vs 2005 only the index items appear but nothing shows in the content window. I have search the fourm and can't find anything similar to this issue. Anyone have any clues why the collection looks fine in the viewer but not content in content window in vs2005 thanks, Don Eddleman Thanks Don - two more questions: 1) are you installing this on the same system you are building the .hxs files on, and 2) do you have an .hxt file defined for your collection an ...Show All

  • Windows Forms Problem compiling Windows Form into a DLL

    I created a Windows Forms Application and I need to compile it into a DLL so I can access the forms from the DLL. I want to do this because I want to have a DLL for EACH form in my main application. The problem is, when I change the project configuration type to DLL, I get a cpmiler errer: Error 1 fatal error LNK1306: DLL entry point "int __clrcall main(cli::array<class System::String ^ >^)" ( main@@$$HYMHP$01AP$AAVString@System@@@Z) cannot be managed; compile to native xAcsLib.obj I have a DLL I compiled yesterday that I made using this same method and it worked fine. So how can I fix this If you need more details, please ask and I will be happy to post them. That just changes the type of the final binary; it doesn't change th ...Show All

  • Visual FoxPro Record repositioning

    >>The problem is I can go into the exact same record that the user reports the problem on, do the exact same sequence of keystrokes, and the problem doesn't occur. Well, the one thing you can be sure of, it isn't happening spontaneously! There must be some item of code that is being triggered by a condition that arises on your user's machine and not on yours. Could an environment setting be different Or maybe they have some bad data that is causing your error handler to fire and do something. I hate these sort of problems - there are so many possibilities - good luck with it. ...Show All

  • Windows Live Developer Forums Dashboard controller and custom tiles

    First of all I honestly admit I'm a big fan of competition :-) but ... VE API is very neat and friendly and has plenty of features and I'm seriously considering using it for my app. ( We need some clear license policy for VE !) so going back to main question ... I'm using VE with my own set of tiles and I'd like to add my tile layer name to dashboard controller and be able to toggle it on/off from there. Is there any way easy to do that Or should I build my own dashboard controller ( is there a way to inherit zoom controller with icons etc ) regards izo The supported method is to create your own dashbaord control, hide the default one, and use yours. That being said, if you scour this forum, I think y ...Show All

  • Software Development for Windows Vista Parameter Dictionary that maps to Public properties on the workflow

    Hi everyone: I hope my question is basic. When I create a workflow I am creating a parameter collection and passing it into the CreateWorkflow() method off an instantiated runtime object. Here's the code: Dim parameters As New System.Collections.Generic.Dictionary( Of String , Object ) parameters.Add( "MySpecialID" , MID) Dim instance As WorkflowInstance = runtime.CreateWorkflow(workflowType, parameters)   On the workflow class (which is a state machine) I've added a public property which the parameter should map to. Here's the code: Public Class SampleWorkflow Inherits StateMachineWorkflowActivity Private _mySpecialID As Object Public Property MySpecialID() As Object Get R ...Show All

  • .NET Development how to get the rows total of an OleDbDataReader

    hi can you tell me ho can i get the total of returned rows of OleDbDataReader thanx DataReaders are forward only readers, the only way to find out how many rows there are in a returned reader is by incrementing a counter on each call to NextResult() while the .HasRows property is true. If you really need to find out how many rows you have, its best to Fill a DataSet using a stored procedure, and query the Rows.Count property on the DataTable inside the DataSet that is returned. Hope this helps. ...Show All

  • .NET Development combine dlls and exe to a single exe app

    I have a project where there is a lot of dll files and one exe file. What I want to do is put all those dlls and exe file into one exe file, so when you deploy this project over the internal network, this will be easy as just send one file to every user. thanks in advance for your help, Edward You need to use this tool: http://research.microsoft.com/~mbarnett/ILMerge.aspx Best Regards, Rizwan ...Show All

  • Software Development for Windows Vista UMPC GUI Design Guidelines

    Is any one aware of any UMPC Software Development Guidelines other than Best Practices in Game Design for the Ultra-Mobile PC and Microsoft Vista- Development Guidlines The first is really only focused on Games and the second is fairly limited Owen Booty Hi Owen: There is a brand new Mobile PC User Experience Guidelines for Developers section on MSDN and in the Windows SDK that includes an Ultra-Mobile PC subsection. - Mark Hopkins (MSFT) ...Show All

  • Visual Studio SourceSafe User Admin reporting?

    Hi, is there any way of reporting current user access across a source tree Currently I'm expecting to have to spend most of a day clicking around the Admin Tool to manually gather this data. As you can imagine, I'm not looking forward to this very much! I've had a look at the docs for the command line interface but I can't see anything there to address user administration. Thanks Roman.  I've managed to put together some JScript that does the job, though it looks like it may be some time until I get my results - it doesn't appear to be possible to go from the User to the set of granted rights, so it is necessary to query the rights for each project for each user.  It's been running a while a ...Show All

  • Visual Basic Design question reading data

    Hi I sometimes include reports and charts in my apps. If I need fast cube like functionality I load lots of data into memory from the db. Then I use nested For Each... to read the data form the objects. Sometimes I have 4-5 levels (first object have a collections and each object in that collection have their own collections and etc....) I have never had any problems doing this, but clearly this is not best practise (first of all since the number of transactions is unknown). I have tried to find a vb.net sample code on this but no luck. Could someone point me in the right direction. Thank you. Hi Thank you. The "before" version sounds just like what I would do. Doing it like this makes it simpler to extract all ...Show All

  • Visual Studio Tools for Office Deactivating cursor in excel ?

    How can I deactivate cursor from sheet using Visual Basic 2005 Or create one push from enter button. Otherwise my data collecting software works fine but when cursor is in sheet it crashes while getting more data from serialport. Hi Timo This forum is for questions concerning the VSTO technology, not about automating the Office object models. The better place to get a quick and knowledgeable answer would be the excel.programming group http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel.programming&lang=en&cr=US Since the folks there are a bit "allergic" to .NET, just ask how you get Excel out of cell editing mode, as when the user presses Enter. Then ...Show All

  • Software Development for Windows Vista Documentation error __uuidof ?

    The online MSDN documentation says to use CoCreateInstance with __uuidof(BootOptions), __uuidof(DiscFormat2Data), __uuidof(DiscRecorder2), etc. to create instances of the corresponding interfaces. Shouldn't these be prefixed with Msft, for example __uuidof(MsftDiscRecorder2) Checking the IDL I believe __uuidof(BootOptions) is correct but __uuidof(DiscFormat2Data) and __uuidof(DiscRecorder2) should be __uuidof(MsftDiscFormat2Data) and __uuidof(MsftDiscRecorder2) indeed. ...Show All

  • Windows Forms DataGrid rows not editable

    I have created a DataGrid and have bound a DataSet to it using C#. The Windows form loads properly, but none of the rows are editable. I have tried programattically setting the ReadOnly property to false, but that doesn't seem to work. Any idea what might be wrong As far as I can tell, the datagrid is NOT readonly. Here is my code: DataTable CreditTypeSettings = new DataTable("CreditTypeSettings"); DataColumn column; DataRow row; //CreditType_ID column = new DataColumn(); column.DataType = typeof(System.Data.SqlTypes.SqlInt64); column.ColumnName = "CreditType_ID"; column.AutoIncrement = false; column.Caption = "CreditTy ...Show All

  • SQL Server Execute SQL task to update variables

    Hi there I'm attempting to update a variable using the Execute SQL task, I've read a lot of posts on this and seems reasonably simple but obviously not. The first time I ran it the variable was updated correctly, I then manually changed the variable value and since then it doesn't work. I have a task with the following properties; Resultset: SingleRow SQLStatement: SELECT MAX(Player_Daily_Data_Pull_Date) as 'PlayerDaily' From Job_Control On the resultset tab I have the resultsetname = PlayerDailyand the variable I want to update. The variable has a type of datatime and it's scope is the container that I'm running the sql task within. Any help would be appreciated. Derek ...Show All

  • Visual Studio 2008 (Pre-release) Scrolling to selected index in listbox

    I have a listbox defined in XAML which is databound to an XML source of about 2000 items. This populates without a problem. Snippet: < ListBox ScrollViewer.CanContentScroll = " True " Height = " 152 " x:Name = " LBBind " Width = " 400 " IsSynchronizedWithCurrentItem = " True " ItemsSource = " {Binding Mode=Default, Source={StaticResource TableDS}, XPath=/Table/MED/@Name} " /> My issue is when I change the selected index within C# and setfocus to an item that is not within view, it does not autoscroll to the index. It does highlight the appropriate row because if I manually scroll down it is selected. What piece am I missing Snippet: LBBind.SelectedIndex = 20; LBBind.ScrollIntoView(20); LBBind.Focus() ...Show All

©2008 Software Development Network