Jim J's Q&A profile
Internet Explorer Development IE7 Document.body not working?
I cannot no more access via CreateOLEObject the IE.Document.body.innerHTML Any tips ...Show All
Visual Studio Express Editions How can I insert my program to the msconfig startup list?
Hi, I want that the user will run my program ones and then the program will run automatically when the user is turn on the computer. How can I force that my program will start before other program that in the list(when the computer start) If I can run my program automatically only 1 restart Best Regards, Yaniv Pinhas You can add a program shortcut to the startup folder: this will cause it to start when the computer starts and someone logs in. Or, you can add it to the registry: the Run and RunOnce registry keys are of interest (you will see the paths in the msconfig for existing items). Almost always you wil perform this task with an installer ...Show All
SQL Server Linked Objects - can browse linked dimensions, but not linked measures
I have 2 SSAS cubes that have 2 dimensions (Date, Brand) and a fact table in common. I therefore am using linked objects to ensure I only administer the dimensions and fact table in one place. The dimensions link fine, and I can browse the data and set dimension relationships to other cube specific fact tables where applicable. When I add a linked fact table/measure group, its a different story. Naturally, it automatically prompts and brings in the correct dimension usage settings for the corresponding linked dimensions (which you cannot change anyway due to the linkage, and you can only have linked dimensions being used in conjunction with linked measure groups). However, when I then go to browse the results of this measure group, I g ...Show All
.NET Development datetime xmlserialization
when I invoke the webmothod,if one of the parameters is datatime,it will be serialized like:2007-02-08 16:30:21 +08:00,and it will be deserialized correctly on server according to the servers' timezone.But if the client misset the timezone,the server will get a wrong datatime.Is there any way to serializie ( deserialize) the datetime independenting upon the timezone If both the client and the server use .net v2 you can do that by using new exposed property on teh DateTime instance: Kind property, just make sure that all your DateTime instances are either DateTimeKind.Utc or DateTimeKind.Unspecified. Thanks, Elena ...Show All
Visual Basic Combo box (again)
Hi guys I am having a few problems with combo boxes, i have inherited a combo box to add some more features, i also provide a data view as the datasource, this side is working well. I have the dropdown style to dropdown and the autocomplete mode to suggest append. If the box has focus and i hold alt + arrow down then the list displayes. If i type for example 'a' whilst the list is dropped down a further list is displyed with my selection, if i highlight my choice and then press enter then the box is empty. If i use tab then my selection is displayed. is this correct or am i doing something wrong here i have experimented with different autocomplete modes. Regards Steve My apologies Spotty, thank y ...Show All
Visual Studio Refreshing Server report in Win Form control
I have a Report Viewer control that I am displaying two diffirent reports in depending on a users selection on a seperate screen. My problem is that the user can select to view all records from a query or select a collection of records. Either way the records that are selected are inserted into a table and the report pulls it's data from this table. My problem is that if I choose to have reports for all the records the RV shows up correctly, but if I go back and select only a few records the RV still shows the previous collection of all the records. The RV is in a seperate form and on the first form I change a app variable to the specific report path, generate the data in the table and open the report form. When the report form is opene ...Show All
Visual C# Reading data from Access database
Hi, I have made an Access database , named IntermediateResults database, and connect it to my C# application using : Data --> Add new data source command, and I have wrote the following lines of code : string connetionString = Properties. Settings .Default.IntermediateResultsDatabaseConnectionString; OleDbConnection con = new OleDbConnection (connetionString); con.Open(); static IntermediateResultsDatabaseDataSetTableAdapters. DocumentsTableTableAdapter dTA = new StartWindow.IntermediateResultsDatabaseDataSetTableAdapters. DocumentsTableTableAdapter (); IntermediateResultsDatabaseDataSet . DocumentsTableDataTable dDT = dTA.GetData(); OleDbDataReader myDataReader = new OleDbDataReader (); but ...Show All
Microsoft ISV Community Center Forums Help with comma separated values in report
Hi! A bit of a stuck-up. It’s no problem in creating a coma separated fields in .txt kind of file. But I have another problem which is probably simple to manage (not for me though - my brains work 24hrs/day and don’t come up with nothing). I want to show several different values from one field (in query) on the report - now check this - They have to be separated by a comma in one line. If anybody is familiar with the solution just show me the direction and I’ll try to solve it by myself. Thanks in advance Yes! It should be very simple - but I just can't find the way. in a query is following: Field1 Value1 Value2 Value3 Value4 I want those values to be shown on a report like: Value1,Value2,Va ...Show All
SQL Server Can we get the Next Row Value ?
In SSRS 2005 we have First,Last and Previous functions which get the related values based on the use. I want to compare with the NEXT row value and print it according to my requirement. My question is How do I get the Next Row Value. Please Help. Hello Andrew, I tried the way you explained but I was able to get the previous row value only. Is there any other way wherein we can get the Next row's field value. Please help, ...Show All
SQL Server Word Wrap database query results
In Visual Studio 2005, when you are looking at the results of a database query, or table (show table data) etc., how can you make the results field values wrap like we use to be able to do in VS 2003 and in Visual Interdev. If the field values were longer then what was display in the grid output results, you could expand the column width and row height and the field values would wrap to fit. If I try to do the same thing in VS 2005 or in sql enterprise manager 2005 the field values don't wrap, they remain displayed in one long line and they just get cut off after a specific number of characters. I have noticed this problem also. Until they get if fixed, just tab to that cell (all the data should be se ...Show All
Visual C# Calling windows service from a web service
Hy! I've created a windows service, and now I need to communicate with it from a web service that is running on the local IIS. How could I do this Thanks, Bruno 1-way, but not just for start and stop it, I should be able to call some methods from this service. Sorry, it may be stupid question, but this is my first time to work with a windows services, and I'm not completely sure if I understand the way they work. So, any good reference to it would be helpful. Is it even possible to call methods from it, as I call them from some web service ...Show All
Visual C# HELP! circular assembly reference
Hi, I have a custom text box control that fires rules on the text leave event. To fire the rules I need the ruleset and rules execution parameters to be passed from the form. I was doing this using the following code private void TextEditor_Leave( object sender, EventArgs e) { BaseForm FindForm =( BaseForm ) this .FindForm(); if ( null != FindForm.ruleExecution) { try { FindForm.ruleSetDataSet.RuleSet.Execute(FindForm.ruleExecution); } catch ( Exception ex) { //MessageBox.Show("Exception thrown \n" + ex.Message); } ...Show All
SQL Server comparing nvarchar(max) column using like to non-ASCII range
Our database defines the long_value column as nvarchar(max). I want to find out which rows actually contain non-ASCII characters in that column, but this clause also returns rows with only ASCII characters: where long_value like (N'%[' + nchar(128) + N'-' + nchar(65535) + N']%') What am I doing wrong Kevin Rodgers wrote: Kevin Rodgers wrote: Here is a diagnostic query that suggests to me that the problem has something to do with collations (a topic I had been blissfully ignorant of). If the server's default collation or the database's collation is Latin1_General_BIN2, it returns the expected result; but if the collation is SQL_Latin1_General_CP1_CI_AS, it returns 21,230 Unicode characte ...Show All
Visual C# how to invert the selection ..?
HI guys, how to invert the selection of checkedListBox please reply. salam Hi Check this link which gives solution to similar question. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=944242&SiteID=1 Hope this Helps ...Show All
Smart Device Development My application have an error in Verisign CA but no error in Development CA(SDK).
Hi I have developed the application for Windows Mobile 5.0 for Smartphone. The application have the part to access the system memory. My application end just there in Verisign CA but has no error in Development CA(SDK). Do anyone know the reason Help me. ...Show All
