Jaaaaa's Q&A profile
Visual Studio Express Editions Service Broker
Is Service Broker included in SQL Server Express or is there an add-in thanks. doug ...Show All
Visual Studio Customize project item context menu
Hi I have used the below VS 2005 Macro code to successfully add buttons to every context menu _except_ the context menu I am interested in - namely the VS project item context menu (open, open with, refresh, view code etc etc) I am referring to the toolbar as ' Cross Project Project Item' - is this perhaps incorrect Code is below - any help much appreciated Sub AddButton() Dim commands As Commands2 = CType (DTE.Commands, Commands2) Try 'Add a command to the Commands collection: Dim command As Command = commands.AddNamedCommand2(DTE.AddIns.Item(1), "test14" , "test14" , "Exe ...Show All
Windows Forms DataBinding to a ListBox at runtime?
Is there a way to change the <i>displayed</i> data in a ListBox at runtime, say thru a button click I have a ListBox which I load with 200 records from a database on Form_Load. On a button click, I want to retrieve the next 200 records and have those displayed in the ListBox. My problem is that the underlying data is changing, but&nbs ...Show All
.NET Development Can't Read & Write At The Same Time
I've got: one database (local) Two tables - both with hand-crafted DataAdapters & DataTables I open the connection object and fill a DataReader from the SelectCommand object I loop around this reader and in the process: Create an instance of a DataTable (via a function) Call the .NewRow() method several times adding data the call the .Update() method to commit the data On calling .Update() I get the message "There is already an open DataReader associated with this Command which must be closed first." I don't see how it can be the same command object as each is created within its own M ...Show All
Windows Forms Form Activated Event Going in multiple loops
hi! I have a form called frmContact which performs the following operations on its activated event. I have noticed that everytime the llOpenClose=true, the form runs correctly. however when the MsgBox loop ie the else loop is executed, the form keeps on iterating in the activated event again and again. When I run it in debug mode, i made about 15 itera ...Show All
Visual Basic How to BIND an OWC ChartSpace to a PivotTable in VB?
I'm using OWC 10 and Visual Basic.NET 2003 Searching on Google, it was said that I need to do this: chartSpace.DataSource = pivotTable but it gives me an invalid cast error. A lot of people seem to have the same problem. How do I do it Thanks. ...Show All
Visual C# StreamReader and File Position
I'm processing large binary files. These are PCL files, and I'm looking for page boundaries. I want to store the position of each Form Feed, which in PCL is decimal 12, hex 0C. However, that byte can also exist as part of a raster or other binary structure. So I loop through the file, and when I find a "12", I read ahead 14 bytes to compare them to a known string. If I get a match, I know the 12 was a real Form Feed, and I store it's position in an ArrayList. This works fine using a FileStream object and its ReadByte() method and .Position property. The problem is it is very slow. I'd like to use a StreamReader to take advantage of buffering ...Show All
Visual Basic Querying Active Directory to check if a Username exists
Hi Everyone, We are doing a lot of work on our Storage server at the moment, and one thing is tidying up users folders. What I am trying to do is to pick up the name of a users folder (from a text file) and query AD to see if that User exists. In theory !! all folder names are named after the Username. Here is the connection code that I have so far, I wonder if someone could help me, or if I am totally missing the plot and on the wrong lines, steer me in the right direction .................... Dim currentuser As String Dim currentuserpassword As String currentuser = InputBox("Please enter your Username") currentuserpas ...Show All
Software Development for Windows Vista XPS and High speed digital print manufacturers
Hi all. I am interested to hear if microsoft has been involved directly or by third party with hardware manufacturers with respect to XPS (e.g., Xerox etc). These companies tend to support and RIP Postscript or derived technologies such as VPS via Creo RIP to drive their high speed colour printers (such as the Xerox iGen3). Do microsoft feel that metro is a language that will work alongside postscript in this arena and is there any feeling about whether such manufacturers are likely to adopt this and create a RIP sometime soon Any thoughts greatly appreciated. Ron, We are working with the ...Show All
Visual Studio Visual Source Safe Command Line
Hi! What can be the advantages we can get by using the Visual Source Safe Command Line In any automated build environement with multiple code trees, the command line is much more simple and reliable when trying to create a specific version of the code set. Although the GUI is fine, the automation interface does not provide a simple method to get the "latest" version of a file that is PINNED to a prior version. Automated creation of command lines is also easy due to the simple syntax, and by logging them to a file, one can always see what was attempted, and repeat or test a single step by simply cutting the line from the fi ...Show All
SQL Server Report Services Question
Hi all, I wanted to be able to log on to Report Services from another computer (remotely), how can I go about doing that setup from either fresh installation or after installation Or can anyone guide me to on where am I suppose to post this question in Any help from anyone is appreciated. Thanks in advance. Daren Daren, I'm going to move your thread to the Reporting Services forum. They should be able to help you there. -Jeffrey ...Show All
Visual Studio Express Editions SQL and VB
Hello I was wanderin say you create an app that has a sql database ... when you publish it and send it to a friend do they need to have sql database to connect to like i do in VB yea im a complet noob sorry and any sql intros would be great.. ty ty ty ty Hi cgraus.... I'm from the USA.... Sarcasm is a Powerful Tool in our Society and Over Here Emoticons are Usually not needed.... .... I also was being Sarcastic about 'replace Procedural Arrays...." Although I am sure it could be done with SQL...... Cheers ...Show All
SQL Server SQL CE Push ConnectTimeout
My application synchronises data with a SQL Server using RDA, the synchronisation process take place in a background worker thread. Due to the single connection limit with SQL CE 2.0 the form thread has to wait until the synchronisation process completes before connecting to the database to perform any updates or inserts. Normally the RDA push method executes quickly and the delay on the form thread is not noticeable. However CPU usage on the SQL Server can seriously affect the duration of the Push and consequently the form thread can appear to hang, not good from a user point of view. Is there anyway to set a maximum Push duration or ...Show All
Windows Forms FolderBrowserDialog
Hello, I added a folder browser dlg to my form, but it just comes up gray...no window with the folder directory. I created a test form with nothing in it besides a button to showdialog the folder browser, and it worked, but for some reason in my other project it just comes up gray. I know this is pretty ambiguous, but anyone have any ideas Thanks! Joe Check you have STAThreadAttribute applied to your entry point, for example: [STAThread] private static void Main() { Application.Run( new Form()); } ...Show All
SQL Server SQL 2005 64bit
Can a 32bit installation of SQL 2005 be upgraded to 64bit installation. OS is already installed for 64bit support, but he wrong version of SQL was installed Moving the thread to Setup & Upgrade forum. I don't believe you can upgrade from 32bit SQL 2005 to 64bit SQL 2005. ...Show All
