Ken Burch's Q&A profile
Visual Studio Prerequisits is calling for wrong version of SQL Server!
I developed my app using Visual Basic 2005 Express Edition, but, I deleted the Express Edition and I installed Visual Studio 2005 Professional. The prerequisits in "Publish" is still calling for "SQL Server 2005 Express Edition"! Shouldn't it be "SQL Server 2005 Developer Edition" I've moved your post to one of the VS forums but I suspect the answer is that the prereq is still correct. All versions of VS provide Express only. Paul ...Show All
Visual C# Accessing Settings in c# erroring out
Hi, I have strongly typed settings in my project and I can access all of those in 1 form in my application but not in another. I don't see any difference between forms but exactly the same piece of below returns setting in 1 form but not in another. Error is below for the form which can not access settings. Any ideas Might be something obvious but it escapes me. Properties.Settings.Default.API_UserName 'System.Windows.Forms.PropertyStore' does not contain a definition for 'Settings' ...Show All
Visual C# i couldnt write the array to the console and file
hi all i'm trying to write the array to the file and console but i couldnt do it. foreach ( string i in dizi) { dos.WriteLine(i); Console.WriteLine(i); } it's my code to write to the file and console.dos is the file's variable.i'm waiting for ur answers. Well that would work, providing dos is a valid handle, what is it that is not working for you string [] dizi = new string []{ "this is a line" , "So is this" , "Yeah this too" }; StreamWriter dos = new StreamWriter ( "file.txt" , false ); foreach ( string i in d ...Show All
SQL Server subscriptions and hidden parameters
I have a report that has a hidden parameter, the customer name. While testing I decided to see what happens when the customer tries to set up a subscription. In the parameter section of the subscription config, it allows the user to not only see the customer parameter but change it. How do I make it so that the user cannot see this parameter while setting up a subscription Thanks, -Lori Maybe it was too much security for users at subscription or try a Linked Report (where you provide the parameters), and let them subscribe to the linked report only ...Show All
Software Development for Windows Vista Added activities from the DesignerActions and refreshing the designer rendering
I've created a custom designer to which I add a new DesignerAction "Insert Required Activities". I've handled the event OnExecuteDesignerAction and in there I add activities to the Activity I'm designing but I can't get them to showup in the designer unless I save and close the workflow then reopen it. I must be missing some method call or event... I'm just doing this: baseActivity.Activities.Add(new InputData()); baseActivity.Activities.Add(new OutputData()); I'm assuming I have to raise some event or call a method to cause the designer to redraw the workflow rendering... I've tried Invalidate() PerformLayout().... You sho ...Show All
Visual FoxPro "feature is not available" - complete diagnostic
I finally had time to focus on this thing alone and get the error reporting straight. I do have now memo fields with errStamps pertaining to every breakdown. One example: FUNCTION addPropToForm (oForm) oForm.AddProperty ("dBaseWe","",1) oForm.AddProperty ("dirWe","",1) oForm.AddProperty ("comboWe","",1) oForm.AddProperty ("tabWe","",1) .............. This is the function that assigns some of the properties. It is located in a prg file. I moved it there out of a method because I felt that it would be easier for me to isolated and alalyz ...Show All
Visual C# Drawing Windows borders on user controls
Hi, I have a user control which I have created, but for the life of me I cannot figure out how to give this control a border like Windows XP common controls have (with visual styles enabled). I have used the familiar CreateParams way for a while now, using WS_BORDER for FixedSingle and WS_EX_STATICEDGE for Fixed3D, but these both give pre-WindowsXP border styles. How would I be able to create the nice, blue border Windows XP common controls have Please dont tell me to just draw a blue rectangle on the ClientRectangle of the control. This is quite a large control, and I don't feel like updating all the drawing containers to reflect a blu ...Show All
Visual C++ Radio Button Problem
I have 3 radio buttons in my Dialog and it's in a group, i have on click event(OnRadio1) for first radio button( ON_BN_CLICKED(IDC_RADIO_ONE, OnRadio1) ), problem is that when dialog box pop's up OnRadio1 is called many times and then dialog will appear. Please help me. Pramod Please check if the ID value that is assigned to IDC_RADIO_ONE is used more than once. Look it up in your resource.h file. If so you get WM_COMMAND message from another control. ...Show All
SQL Server packages and data source views do not work?
Hi, doing my first steps in SSIS I wanted to copy data from 2 different SQL 2000 database servers to a SQL 2005 Data warehouse. For not having to deploy additional views and procedures to the individual systems I chose to create a Data Source View to create an abstract view on the different data sources. I found out that I can have named queries pointing to the two different data sources in the same view. 1 Project, 2 Data Sources, 1 Data Source View with 3 Named Queries When I now add a Data Flow Task to the Control Flow how can I specify my DSV as Source for Transformations I even added both OLEDB Connections to the Connection Man ...Show All
Visual Studio Express Editions visual basic express or visual studio professiona? which one?
I'm a developer who has downloaded vb express and sql server express for my home computer. I wanted to know if I should break down and buy visual studio 2005 professional or should I just stick with the express version of vb. My funds are very limited and my skills as a windows developer are still emerging. I'm not yet a great windows developer. I will use vb/sql express for personal projects and learning and possible small business applications.Bottom line.. will the express version do for me instead of professional version Although I haven't used the class designer, it would be nice to use it if I need to and express has no class desi ...Show All
Software Development for Windows Vista HandleExternalActivity not subscribing to event
Hi, I have a state machine workflow with a state that uses the HandleExternalActivity activity. I have set it up to use an event in my custom interface. However, when the implementation of my interface raises the event I can see that there are no subscribers to the event. In other words, the HandleExternalActivity activity hasn't subscribed to the event. Any ideas what would cause this Thanks, Kent Kent - it generally is that the worklow isnt in the state you think it is. Are you hosting in ASP.NET or a different host If ASP.NET you need to look into the ManualWorkflowSchedulerService ...Show All
Windows Forms datagridview dispose
Hello I've a form with a datagridview connected to a bindingsource on a table. I open it with Showdialog. On the CellMouseDoubleClick event I want to select and close the form so I write this .DialogResult = DialogResult .OK; But I've an error in the DataGridView.Dispose method : "Object reference not set to an instance of an object." on the : base .Dispose(disposing); because my datagridview is based on a DataGridView If I click on the grid to select the row and then click on the Valide button : it's ok If I use the CellMouseClick event : there's an error. Can you help me. Thank's I response ...Show All
Software Development for Windows Vista Questions on workflow types
Hello, I have a number of questions about workflow types. As I understand it, there are two workflow types available out-of-the-box with WWF: sequential and state machine. With sequential workflows, I believe the flow is generally top down from the initial activity to a final activity. The path is well defined; activities like ‘While’ allow the workflow to repeat contained activities and the ‘IfElse’ activity allows the workflow author to conditionally execute branches of related activities, which are embedded in the container ‘IfElse’ activity. In contrast, the state machine workflow is much more adh ...Show All
SQL Server Guids as primary keys
Is it a good idea to use Guids as primary key. What is the impact on performance. Guids are random by nature that may have an impact on writing clustered index. Any comments or suggestions I'm not a complete expert, but one problem I know of with GUID's with clustering keys is that they are not naturally increasing so this could introduce lots of fragmentation in environments with lots of inserts. They are also wide (16 bytes) so having them in all indexes and foreign keys can be a hit to the size of the database, scan performance, etc. ...Show All
Visual C# DLLImport - How to set the dllname at runtime
Hi, I understand that DLLImport require the dllname to be statically coded. In my case, the dll name (pathname) can only be retrieved from a XML file. How can I archieve that Any help would be appreciated. Use Assembly.Load to load a assembly at runtime by a specified path. This example loads mylib.dll and print all types to the console: Assembly asm = Assembly.Load( @"c:\mylib.dll" ); foreach ( Type type in asm.GetTypes() ) { Console.WriteLine( type.FullName ); } ...Show All
