faithfuldave's Q&A profile
.NET Development Remoting vs Indigo taking *nix and Mono into account
I'm designing a distributed system (actually redesiging DCOM app). Planning to use Remoting but Indigo is on the horizon so have been taking a look at that. Ideally, I'd like the same code base for Unix/Linux. I understand Remoting should theoretically work on Mono. I've been told Indigo will never be ported to Mono because MS isn't going to license the technology to allow it. If Indigo isn't going to be there, I'll probably stay behind with Remoting. any comments Dave Thanks Doug. Why did you bother typing that reply Ya, I know MS doesn't develop Mono but it has contro ...Show All
Visual Basic Using Visual Studio VB with Access 2003 -> General Questions
So how is this done I have an access DB made up with the forms and stuff already in the .mdb file but trying to program vb in Access has it's draw backs and I'd like to be able to make the forms, etc, in visual studio vb and then have them connected to the Access Database. I have several tables that are connected to different forms, so it's not going to be just one table needs to be linked to the whole project. Can any one point me in the direction of some good reading material Most of the programming books I have are seperated by either VS VB or Access development and don't have anything about Access development with VS VB. ...Show All
Windows Forms how to move picture form ?
how can i move a form without title bar i have posted the code before but now its just not working anymore so any one could help i want to move a picture form1.vb without titlebar whats the code for it thanks found it Public Class MainForm1 Dim matrix As MainForm1 Dim score As Integer = 0 Private mouseOffset As Point Private paused As Boolean = False Private isSoundOn As Boolean = True 'If there is no title bar, you can move the form just by dragging it. Private Sub Form1_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventAr ...Show All
SQL Server Getting sample databases in Management Studio
How to get sample database AdventureWorks and AdventureWorksDW deployed in Management Studio. I selected to install sample database entire feature on my local hard drive and I can see it did installed all the .mdf,.ldf,.dim,.cube and the rest in C:\Program Files\Microsoft SQL Server\90\Tools\Samples\ How can I get the database in Management studio. I tried to use Attach db and it didn't worked, gave me following error Msg 1813, Level 16, State 2, Line 1 Could not open new database 'AdventureWorks'. CREATE DATABASE is aborted. Msg 602, Level 21, State 50, Line 1 Could not find row in sysindexes for database ID 8, object ID 1, index ID 1. ...Show All
Visual Studio Express Editions What are the risks with including a SQL Server Express Database with VB Express Application
Greetings, I am in the beginning process of building my first VB application in years, and my first time using the "Express" editions, and my first time with the .NET framework. My question really boils down to one thing: Will bundling a VB Express application with a SQL Server Express Database cause complications for novice end-users. When someone installs JosBoysApp.exe and it does the 'silent' installation of SQL Server Express, do menu items still show up for SQL Server Express with programs and things that will confuse users Will there be SQL server things that the user could inadvertently break or uninstall because they don' ...Show All
.NET Development Plugins
Hello, I am just exploring visual studio.net 2003 and was wondering whether i can download any plugins... for example to make it work with another programming language or to add a featuer (e.g. creating UML diagrams). I would also like to know if visual studio net provides a testing tool. I couldn't find one in my IDE, and my book doesn't talk about it either... but maybe someone knows. Now my final question... if Visual Studio .NET is not really extensible, and doesn't even provide a testing framework, why do so many people love it so much... why don't they use Eclipse instead Any wanted feature can be added to Eclipse, simply by installin ...Show All
Visual Basic Listview Listitems not drawing their backcolors ??????
Hi, I have filled my listview with items, most of which have different backcolors, now this worked fine with .Net 1.1 with VS 2003 but now I have "upgraded" to VS 2005 and .Net 2.0 they are no longer being drawn with there backcolor at run time (both in debug and release)... However, I have a function that will export any listview into excel and this keeps the column widths, row colours and row fonts all in tact, and low and behold the colours are correct in excel, so why are the colours not being draw on the control Oh, and I have just noticed…. Literally while writing this post, if I resize the window (which forces the l ...Show All
Visual Basic RichTextBox
I have a below code in my program: Friend WithEvents RichTextBox1 As System.Windows.Forms.RichTextBox <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() Try Me .RichTextBox1 = New System.Windows.Forms.RichTextBox Catch ex As Exception MessageBox.Show(ex.Message, ex.Source) End Try I get the message: “Overflow or underflow in the arithmetic operation”. There is the error number 5 from System.Drawing. What is wrong Thanks in advance for the answers. Shalviyah I doubt we're looking at the code that caused that exception. T ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HELP "The file system.dll is missing!"
When I run the directx diagnostic tool I get the following error message on directx; The file system.dll is missing! You should reinstall DirectX to get the latest version. When I try to reinstall DirectX again it recognises that I have the most upto date version and wont reinstall DirectX Can anyone tell me how I can reinstall DirectX to fix the problem or how I can add the missing line. Thanks in advance Marcotoon http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=179551&SiteID=1 ...Show All
Visual Studio Team System Hardware requirements for load test controller and agent?
What are the recommended hardware specifications for load test controllers and agents thanks in advance Matt This post answers my question about the controller and agent coexisting... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=232620&SiteID=1 Still wondering about recommended OS. Thanks. ...Show All
Visual C# live syntax error highlighting?
hello, i installed VS2005 and readed on the installing text about the following feature: the code editor highlights syntax errors imidiately without compiling (like eclipse for java). - how can i activate this feature - is this feature for all languages avelable (i want use this with C++) Background syntax checking is not available for all languages. Currently this in Visual C++, only C# and Visual Basic. Craig ...Show All
Visual Basic DAta Sources Toolbox functionality reversed
When I am looking at a code window all of my data sources are visible in the data sources toolbox. When I am looking at a form, the toolbox is empty and greyed out and no options can be accessed. This is exactly opposite from how it worked in beta 1, 2 and RC1. Anyone know what the deal is with this As of right now I cannot drag/drop a table onto a form because all the tables are hidden when I am looking at a form. Thanks, Josh Josh: Just in way of follow-up. It appears that I was wrong about the problem the other programmer was having. It appears that the failure of the Data Source to properly di ...Show All
SQL Server Permissions to a local account on which SQL Server service works
My SQL Server 2005 runs on a local account. Is it neccesary to assign this login in SQL to a System Administrator role And is there any difference in SQL Server 2000 thanks Przemo If you have used SQL Server Configuration Manager to set the service account, you don't need to do anything. The same thing goes for SQL Server 2000, if you have used Enterprise Manager to change the service account. You should avoid changing the service account manually and use instead Configuration/Enterprise Manager. Thanks Laurentiu ...Show All
Windows Forms bug? AutoSizeColumnsMode & header
I have AutoSizeColumnsMode = AllCells on my DataGridView. One of the column headers is "Announcement Number". The column contains nothing but 1-digit-long integers. When I run the program, the header gets split up onto two lines with "Announcement" on top, and "Number" below it. This is ok. However, the column width looks like it was "autosized" for "Announcement Number" and not "Announcement". So there is a large amount of unneccesary space on the right side of this column. (I would expect it to autosize for just "Announcement" since it split the header.) Is t ...Show All
.NET Development Value of first parameter to Stored proc always goes as a blank.
Hi, In C#, Iam using ADO to access data from SQL server 2000 through stored procedures. When ever I try to pass a value to input parameter, the first parameter always goes in as blank value, even though the value for this parameter exists in the parameters collection of the command object. Thanks in advance. I can assure you, there is no ghost monkey in your code eating up your parameter value. If it's setup properly it will show up at the database end. Here is what I'd look for a) ParameterName being correct b) parameter direction being correct c) parameter data type being correct d) parameter ...Show All
