bslim's Q&A profile
Smart Device Development mdb to cdb error
I have a MS Access database that I want to copy to my pocket pc. The problem is that the Active Sync conversion fails. I have the following error: Database: C:\contas.mdb option: 1 - Overwrite existing tables option: 1 - Keep this database synchronized General access denied error I have an application that is able to read the cdb files (including existing forms) but I can't copy the database to my device Any help This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please co ...Show All
Visual C# "Absolute path information is required" bug.
Hello, I've installed Visual Studio 2005 MSDN and I have problems with C# projects. Whenever I try to start a C# project (Windows Application or something else) I get message box: Microsoft Visual Studio "Absolute path information is required". Solution file is created in specified directory (and *.suo file), but nothing else. I also cannot open/convert C# projects from VS2003. I don't have any blocked/protected directories. Everything works with administrator permissions. I have my system partiotion (C:) and all apps (including VS) are installed on drive D:. I've never installed any VS (2003, 2005 BETA) or any SDK on this machnie. Only .NET framework "runtime" (no SDK). I've tried to create C# projects on different partiti ...Show All
Windows Forms Labels changing size/font size on different computers
A testing version of my application has been installed on several computers at the client's office. On some computers, some of the labels appear to have changed size and the text is wrapping to a second line making them hard to read. There is also a combobox at the right end of the toolbar. On two machines it is half off the screen. The form is maximized, all the control boxes are visible--it's like the toolbar just keeps going past the edge of the form. I have compared display settings for font size and resolution and framework versions and also if service pack 2 is installed on the computers. I can't see any pattern for why some computers display the labels and forms correctly and others don't. If anybody has any ideas that would be grea ...Show All
SQL Server 'Default' NON_EMPTY_BEHAVIOR behavior...
Hi, The below query returns 20 rows when run against our production DW. When the NON_EMPTY_BEHAVIOR is removed, it returns 10 rows. Note the lack of a member list on the N_E_B. Anyone else seen this, or have any ideas as to why it's causing me a 'problem' WITH MEMBER [Container].[Container Type].[AllCalc] AS [Container].[Container Type].[All], NON_EMPTY_BEHAVIOR ={} SELECT ([Measures].[Container Load Count]) ON COLUMNS , NON EMPTY [Trade].[Trade].&[EAST_AFRICA] * [Container].[Container Number].[All]. Children ON ROWS FROM [DW_SM] WHERE ( <various slicers>, [Container].[Container Type].[AllCalc] ) Thanks, Will. ...Show All
Visual Studio Tools for Office Word and line command argoment
Hi, Sorry for my english! I would to read some arguments that I send to a word document on command line. Some could help me hello & thanks Ivan Hi Ivan Please show us the code in the vb.net application you use to open the VSTO document. Can you describe what Word should do with the information you're passing ...Show All
Windows Forms Get the parent Control object... solved!
I have a non-visual class like (avalible in the toolbox) public class MyClass: Component { public MyClass() {...} } In this class I have some asyncronus external events that needs to be syncronized with the "main - gui - thread" that consumes events from "MyClass"... Before I made a "toolbox" component of "MyClass" I hade a constructor like public class MyClass: Component { public MyClass(Control parent) {...} } This way I had the "parent" object to sync with... But using MyClass as a component in the "toolbox" forces me to have a constructor without any parameters... I need to get hold of the parents "Control - object" inside of "MyClass". How ca ...Show All
Visual Studio Tools for Office Excel: Smart Tag icon not visible in worksheet copies
Hi everybody,(I'm using VSTO 2005) In a very simple Workbook test project containing a SmartTag wich inherits Excel.SmartTag and overrides Recognize, everything works perfectly as far as I type my text in the 3 default sheets. As I copy an empty worksheet (i.e. sheet3) and try to type the same recognizable text in the newly added worksheet (i.e. sheet3(2)) : 1. The smart tag still always recognize correctly every cell (I put a breakpoint on the line where I perform the PersistTag method in the Recognize override). 2. On the newly created worksheet the smarttag icon (and relative arrow and menu) doesn't appear anymore 3. On the original worksheets (1,2 and 3) the icon remains visible only associated to text previously typed but as I type ...Show All
Windows Forms hint help for datagridview cell
Can anyone tell me how can i find tips to show hints message for datagridview cell Not a pop up. Like a tail message Thank you. You can set the ToolTipText property for a Column Header Cell, Row Header Cell and Data Cell of a DataGridView. The code belows shows you an example.... private void Form1_Load(object sender, EventArgs e) { DataTable dt = new DataTable(); // create a datatable dt.Columns.Add("col1"); dt.Columns.Add("col2"); dt.Rows.Add("1", "test1"); dt.Rows.Add("2", "test2"); dataGridView1.DataSource = dt; // bind the datagridview to datatable dataGridView1.Columns[0].HeaderCell.ToolTipText = "Col Header Tool ...Show All
SQL Server Adding expression in Data Flow Task
Hi I am trying to develop a data flow task in C#. I need to add an expression tab in the task where i can write expressions on the input columns and map it to outputs. Please let me know how to go about it. I am new to SSIS coding so dnt have much idea abt it. Thanks in advance, Vipul Hi TGnat I am looking for some apis which will help me to write a code. I am not sure abt Derive Column Tool as there are some of the things which are not supported in it and i am looking to enhance the functionality for my use. Thanks Vipul ...Show All
Visual Studio Express Editions Visual Basic 2005 Express Edition hangs if I clic on any option in Help Menu
Hi, I finally installed VB 2005 Express. I had to temporarely stop my Panda antivirus software to be able to install first the .NET Framework 2.0 and later VB manually. When I first run VB, I got the message: "Visual Studio 2005 is configuring the environment for first time use. This might take a few minutes." After 3 hours , I stopped VB and other two processes on Tas Mgr. I started VB again and it appeared aparently right. But then, I started investigating the help menu and then my computer hangs. I have to stop the process on Task Mgr. and close VB. I have XP SP2 with 1Gb RAM and a Toshiba Satellite laptop. Thanks for any help Ignacio Almost all anti virus software cause ...Show All
Visual Basic Compiled app failing in InitializeComponent
I have created a WinForms application that runs fine in Debug mode, but when I deploy it to a server, it fails when it executes InitializeComponent while loading its first form. How do you debug something like this Winforms Err.Number and Err.Description are not VB.Net errors They are VBA, VB, or VB.Script style errors I believe. So this error is probably comming from a VB based Com object that the application is attempting to initialize. Thats my guess anyway. Ibrahim ...Show All
SQL Server What is the right way to install SQL Server 2005 silently?
Hi, I am having loads of problems trying to package up SQL Server 2005 to install silently. When I do the silent install from a DOS Command prompt, it seems to work OK. When I try it using a BladeLogic agent (a kind of remote command execution), then it tries to throw up a gui which just shows a title bar, and holds up the installation process. From searching on the web, this kind of thing happens when doing the installation from the RunOnce registry key. What is happening here, and why is the setup program throwing up this screen Is there another way to do the silent installation (e.g. installing each msi in turn) Will this be fixed in a new release Mark. I will try. This is a software deployment tool, ...Show All
SQL Server Getting Error While Closing and Reopent the Same Report.
Hi, I was created a RDL report and successfully deployed it in reporting server. I was written the following code to display the report. private void Form1_Load( object sender, EventArgs e) { this .reportViewer1.ProcessingMode = Microsoft.Reporting.WinForms. ProcessingMode .Remote; this .reportViewer1.ServerReport.ReportServerUrl = new Uri ( "http://172.16.5.148/ReportServer" ); this .reportViewer1.ServerReport.ReportPath = "/Import Run Reports/ImportRunReport" ; Microsoft.Reporting.WinForms. ReportParameter [] param = new Microsoft.Reporting.WinForms. ReportParameter [2]; param[0] = new Microsoft.Reporting.WinForms. ReportParameter ( "RunId" , &quo ...Show All
Visual Studio 2008 (Pre-release) WPF Bug: Fatal Exception 0x80131623 and ReturnEventHandler
I just ran into what appears to be a bug in WPF, or at least an undocumented requirement. Essentially, it appears the method implementing the ReturnEventHandler for a PageFunction.Return event must belong to a PageFunction or the entire application just faults and terminates immediately with 0x80131623. There are no prior first chance exceptions appearing in the debug console that I can find which might be contributing. The following is further elaboration of the scenario. PageFunction1 has a button that triggers a RoutedUICommand. Command1, among other things, implements OnExecute and OnCanExecute as RoutedUICommand event handlers. RoutedUICommand1, Command1.OnExecute, and Command1.OnCanExecute are bound to PageFunction1 u ...Show All
.NET Development Update multiple records in a dataset using a query
Hi, I have ASP.Net 1.1 application. It contains a form that has a Dataset that contains one table " Orders ". It contains the below fields OrderNumber OrderDate OrderSequence OrderSequence is a sequence number from 1,2,3........... I display the Orders in a datagrid using Orders dataset as source (Sorted by OrderSequence) .The datagrid contains a Textbox displaying the OrderSequence column. I am trying to implement a mechanim=sm that will allow the user to change the sequence of the Order to allow him to move the Order up and down the sequence. When the user changes the OrderSequence , I want to change the OrderSequence in all the Order rows. For e.g. if the user changes the OrderSequence of a row from "20" to "10& ...Show All
