jw700's Q&A profile
SQL Server error
"To connect to this server you must use sql servermanagement studio or sql server management objects(SMO)" what could be the cause of this error happens when connecting to sql server 2005!!!! Where are you gettin this error HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual J# Is J# an CLS compliant language?
hai, I read that c#, VB.net, vc++ are Common Language Specification(CLS) compliant language. I want to know whether J# is an CLS compliant language.Also, does it have controls similar to Java Swing or VB.net Controls(i.e, TextBox, Label) Is java swing controls/components does Visual Studio supports or J# has its own components. How J# differs from C# anyone please help me.... thanks a lot.... friend, M.S.P.Saami. My opinion is that J# is kinda drop off... C# is THE .NET language, if you prefer, and is designed for .NET. It has little difference to java, but not anything a smart programmer can't handle. Get a C# book, read it through and you are ready to start working with C#. The logic is what matters in codin ...Show All
Visual Studio Tools for Office Network problem
We have windows 2003 server with anti virus server software. While saving the files especially word and excel on the network (server) from the client, it take very long time. Kindly help us in this matter. Which version of VSTO are you running that have these files within it If you are not running VSTO, this is not the forum for this question... you may want to post your question to the Office General Forum . ...Show All
Visual C++ Continued use of MSFLXGRD.OCX in MFC Application
My MFC application has been using msflxgrd.ocx to display and edit vectors of data structures. But I cannot find an installation package for in Visual Studio 8.0. Is it still supported Do I need to switch to a different control What control is supported in Vista that has the equivalent functionality. I am running Windows 2000 and XP. How do I instruct the Setup and deployment project for this application to use msflxgrd Thanks. Marc ...Show All
Visual Studio Team System Checkin Policy Override Report
I'm at a client who would like to have a report that shows the following in regards to checkin policy overrides: - Who - Which policy - Comment entered when overriding the policy - Changeset ID - Team project - Files checked in (optional) I could not find all of this data in the cubes in TFSWarehouse. I did some looking around to see what others had done and came across a console app that listed this type of data using the object model. That could work, but is not the ideal soution for this situation. So I decided to write a query against the relational tables. It seems to work, but I wanted run it past some of you to make sure I have not incorrectly interpreted some of the relationships. SELECT tp.[team project], cs.changesetid, p.p ...Show All
Visual Basic create key/value pair for filename/path_filename to use in combobox.
What is the best way to create a key value pair for a filename and filepath with filename. 1. Obtain files within a directory for a known suffix (eg. html) 2. Set variable to filename only using GetFileName() 3 Add filename to Listbox, ComboBox, etc. 4. When user selects FileName, use value (path and filename c:/xxx/xxx/filename to use as argument for Process.Start(PathFileName) Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load For Each filePath In IO.Directory.GetFiles(path, "*.html", IO.SearchOption.AllDirectories) Dim fileName As String = System.IO.Path. GetFileName ( filePath ) ListBox1.Items.Add( filePath ) Next filePath End Sub Priv ...Show All
Smart Device Development MS Access database and VS 2005 .net2
I'm looking at the feasibility of using MS Access on a Mobile 5 device. Using VS 2005 if I attempt to create a new data source I ca select an access database and the test connection works OK, however when I proceed I get an error "The new connection uses a data provider that is not supported" Theres no error number. Can anyone tell me if Access is supported by Windows mobile 5, .net 2 and VS2005 Thanks Rob No, Access (both Pocket and desktop versions) are not supported on devices. Pocket Access is deprecated and no longer available, desktop Access is generally not accessible remotely at all as it's in process database. You can use Web Service as proxy though: ht ...Show All
Visual C++ Creating a new Task Object with CDOEX
I am attempting to create a new Task object for a given Exchange 2003 user via CDOEX, but do not know how to reference Task objects. Using the Exchange 2003 SDK (and the instructions found here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/e2k3/e2k3/_esdk_samples_createappointment_intro.asp ), I can easily and reliably create a new calendar item for a given user. I would like to do the same thing with a Task item, but am not sure how to go about this. Any help would be greatly appreciated! Thank you! This forum is C++ language issues. For Exchange questions, try one of the MSDN discussion groups such as: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.exchange.applications&lang= ...Show All
Visual C++ location of string tables?
I'm building a Win32 console application where I want to use Unicode. The simplest solution seems to be putting all strings into a string table. My question is: where is this string table placed when the application is compiled & linked If I always pass legal string ID's to LoadString() where the buffer is of sufficient size, is there ever a situation where LoadString will return zero (fail) Thanks. The string table is placed inside the executable (or dll if you are compiling a dll). Failures should be rare, out of memory situation or errors when reading the executable/dll pages from disk. ...Show All
.NET Development UnExpected reflaction after Updating a table any one face this .............?
Hi ADO.net Masters, After updating records in a table it updated sucessfully BUT, when i am looking in the crystal report and listView control for same record, it dose not reflect the changes, it shows the data befor updation. Any on tell me what is the issue for this type of error. actully i have take all these data from the MS Acesses. And i am using .net2003 with Sql Server2000 Please any one faced this type of prob.. pls help me thanks in advance.. Can you please clarify one thing – are you using the ADO.NET v.Next CTP, or are you using ADO.NET 2.0 I don’t think the CTP supports Access. If you are using ADO.NET 2.0, we can move the thread to the proper forum, and much more people will look at it. ...Show All
SQL Server SQL variable and IS variable in Execute SQL Task
Hi, I have an Execute SQL Task (OLE DB Connnection Manager) with a SQL script in it. In this script I use several SQL variables (@my_variable). I would like to assign an IS variable ([User::My_Variable]) to one of my SQL variables on this script. Example: DECLARE @my_variable int , <several_others> SET @my_variable = <do_some_stuff> Of course, I also set up the parameter mapping. However, it seems this is not possible. Assigning a variable using a only seems to work in simple T-SQL statements. I have several reasons for wanting to do this: - the script uses several variables, several times. Not all SQL variables are assigned via IS variables. - For read ...Show All
Visual Studio Express Editions SubString Count routine
Is there a simple way to count the occurences of a string within a string or stringbuilder maxlines=bigstring.count(",") Something like that or do I have to write my own function Or is there a function out there that someone can point me to Thanks. you could use Regex (regular expressions) also as this is what it's designed to do and is appropriate I believe. Regex will not only find the words for you but you can also find the number of instances of that word you want to match, within the specified string. I'm not great on regex but hope that these resources help you, and is the correct way of doing things than tons of string parsing etc.... and well, easier to a certain extent http ...Show All
SQL Server Problems Deleting / Renaming Dimensions
I had a problem with a dimension and so decided to re-created it. Once I was happy with the new dimension I deleted the old and renamed the new to what the old one was called previously. When I try and build my cube I get the following error: Error 18 Errors in the metadata manager. The dimension with the name of 'dim_product' already exists in the 'Sales_AS' database. Not sure why this is happening as I thought I'd got rid of all trace of the old dimension. If I rename the new dimension I have no problem. Is anyone able to explain what's going on here Thanks. If you deploy with the default settings the old dimension still exists on the server and if you want too deploay a second one with t ...Show All
Windows Forms Change icon in treeview control in C#
Could you please tell me how to change the icon in C# when the 'plus/minus' sign in a treeview control is changed. For example, if the sign beside a node is "-", then display icon "A"; otherwise, display icon "B". I would highly appreciate your help! ...Show All
Visual Studio Express Editions Help Clearing All Textboxes and All Comboboxes
Greetings: I found this helpful code elsewhere on the forum, but it is only working on the Combo Boxes and not the text boxes on my Form1. Currently I have 4 textboxes and 3 comboboxes on my form. In the editor, when I hover my mouse over "ComboBox" it says "Class ComboBox" and when I hover my mouse over "TextBox" it says "Interface TextBox." Any ideas or help is greatly appreciated. Thanks Glenn Public Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click For Each c As Control In Me .Controls If TypeOf c Is TextBox Then ...Show All
