DennisS's Q&A profile
.NET Development ftp, for a beginner
is there an ftp primer... or a freeware or public domain, or inexpensive library, preferably working with the express .net compilers (hopefully with visual basic 2005.express)... some thing to get me started. There is an System.Net.FtpWebRequest class you can wor with (see the documentation). Additionally you can use the wrapper for this class, take a look at: http://www.codeproject.com/cs/internet/ftplib.asp and at http://www.c-sharpcorner.com/UploadFile/danglass/FtpClient12062005053849AM/FtpClient.aspx I suppose you can use one of them :) ...Show All
Visual Basic populating an Access database using visual basic 2005
I am trying to create a new employee application that gets input from a user in text boxes and then take that information and populate a database in Access that will later be pulled to the Track IT! database on SQLserver2005. How do i do it Thank you. Me.theOleDbCommand = new OleDbCommand("INSERT INTO [ tableName ] ( field1, field2 ) VALUES ( , )") Me.theOleDbCommand.Parameters.Add(new OleDbParameter("@p1", OleDbType. fieldType ).Value = Me.theTextBox1.Text)) Me.theOleDbCommand.Parameters.Add(new OleDbParameter("@p2", OleDbType. fieldType ).Value = Me.theTextBox2.Text)) a couple questions about this part of the code. A) i realize the [tablename] is the name of the d ...Show All
Microsoft ISV Community Center Forums Communicator web access Not working on sign in... TLS required ? (Internally and externally)?
I can connect to the sign in page just fine.. but once I enter all the information it gives me an error.. reason=2.. could not sign in to the server etc... I know the standalone software can connect and works fine via TCP protocol.. Can I not use TCP protocol from behind the firewall and from the outside.. or can i use TCP inside.. the TLS certificate method on the outside.. Thanks ...Show All
Visual Studio Updated Modeling PowerToys Addins
Hi all, Just wanted to let everybody know that an updated version of the Modeling PowerToys for Class Designer is available at the gotdotnet workspace: http://www.gotdotnet.com/Workspaces/Workspace.aspx id=fe72608b-2b28-4cc1-9866-ea6f805f45f3 Here's description of the changes from that site: <quote> In response to feedback provided by the PowerToys users, we have produced an update for the Modeling PowerToys add-ins. Issues fixed in this update: - The add-ins should work correctly now on non-English versions of Visual Studio 2005. - The new installer puts add-in assemblies on the local hard drive even if My Documents folder is on the share resolving the issue of add-ins refusing to load in such scenarios. - Installer has mo ...Show All
.NET Development Reading Excel worksheet
I'm trying to get the contents of a single cell in excel and display it in a textbox. How do I do this You also need to be careful in a case if you need to read dates. In many cases you could get double precision number that represents the date instead of the actual date. In some cases you could also get NULL value for the cells where provider is not able to identify the proper datatype of the cell ...Show All
Visual Basic AutoScroll problem of FlowLayoutPanel
Hi I find that if buttons are added to a FlowLayoutPanel, the AutoAcroll (via mouse wheel)works. But if the added controls are pictureBox, then the autoScroll does not work. Does anyone know why The code I used is: Dim panel As New FlowLayoutPanel Dim control As New PictureBox 'Button ' panel.Width = 300 panel.Height = 500 panel.Location = New Point(10, 10) panel.FlowDirection = FlowDirection.TopDown panel.AutoScroll = True panel.BackColor = Color.AliceBlue Me .Controls.Add(panel) control.Width = 200 control.Height = 1300 control.BackColor = Color.Blue panel.Controls.Add(control) Thanks. Thanks for your reply. In your code, t ...Show All
Visual C# tab pages keyboard shortcut
Is there a way to assign a keyboard short cut to a tab page The following: TabPage.Text = "&My Page"; outputs as a literal string, instead of making it a keyboard short cut. As far as I know this is not possible with the controls in the BCL. You could however implement it yourself: http://www.google.be/search as_q=MnemonicTabControl&hl=en&num=10&btnG=Google+Search&as_epq=&as_oq=&as_eq=&lr=&as_ft=i&as_filetype=&as_qdr=all&as_occt=any&as_dt=i&as_sitesearch=&as_rights=&safe=images ...Show All
Visual C++ Project always links.
Is there some kind of switch I can enable that will show me what is causing my exe to always re-link Leigh You could try boosting the verbosity of the build output. http://blogs.msdn.com/msbuild/archive/2005/09/29/475157.aspx . Neil ...Show All
SQL Server Remove old SQL 2005 Backup files
I am trying to configure a maintenance plan in SQL 2005 to do a full backup every day and to do log file backups every hour. What I want to do is to keep 3 days worth of full backups and 24 hours of log backups and remove all the backups older that this from the server so that I do not use all of my disk space. I will then backup these files to tape so that I have a good backup history. In SQL 2000 there was a simple option to remove backup files older than a given time frame. Is there an option to do this in 2005 If not can you suggest a way that I can do this. Hey Thanks Andy, But i never seen check box for include sub level folder in maintanance plan clean up task. can you tell me where ...Show All
Visual Studio Express Editions Null Reference Exception
For some reason i keep getting this "Null reference exception was unhandled - object reference not set to an instance of an object" Does anyone what this or what is could be causing it. I'm using arrays to store stuff which then makes an instance of a panel. I have 4 of these, they are all identical and use the same panel, but one of them refuses to work and I get this message, I've checked it over and can't seem to see anything different between that 1 and the other 3. The error occurs in this line assaultDisplay(count) = New weaponDisplay(assault(count).weaponName, assault(count).ammo, assault(count).damage, assault(count).rpm, assault(count).reload, assault(count).heat, engineer(count).arm ...Show All
Windows Forms DataGridView problem: Painting takes 1/4 of a second.
Hello I have some problems with DataGridView . I have one TabControl with two tabs. The first one contains a DataGridView and the second one contains other controls. The DataGridView has its DataSource property connected to a DataTable . This table is set up with 20 columns and has 100 rows. The problem is, when I select tab 1, the DataGridView needs 1/4 of a second to finish its painting. This is really annoying. (Reducing the number of rows does not solve the problem) Is it possible to come around this delay somehow Kind Regards I have made a ComponentClass that extends from DataView. (Its nothing more implemented, the error still exists ...Show All
Windows Forms hex display
HI everyone, i have a value that i want to show in hex. I use : textbox1.Text = "0x"+value.ToString("x"); I get the results right, but if the value is 0x06, it only shows me 0x6, is there a format that i can use to get 0x06 Thank you You can specify the length of the string you want after the "x", so if you want 5 chars i.e. 0000f, you could do: value.ToString("xxxxx"); Mark. ...Show All
SQL Server problems with sync_type 'replication support only'
Hi, I try to setup a transactional push replication from MS SQL Server 2005 to Sybase ASE 12.5.3. ASE is known to MS SQL Server as a linked server using OleDB. As table schema and data are valid at subscriber site I don't need a initial snapshot for the replication. So I do some tests with sync_type (sp_addsubscription). First I tried 'none'. That works fine. But the documentation says that it is depricated an I should use 'replication support only'. But with this syn_type replication stops because is sends the following commands to the subscriber: -- -- Transactional replication custom procedures for publication 'kunktable_pub' from database 'kunktest2': -- ---- ---- Replication custom procedures will not be scripted for article 'kunktabl ...Show All
Visual Studio Team System xpath queries cause false error.
the following code (sample from msdn) CREATE FUNCTION my_udf(@var xml) returns bit AS BEGIN RETURN @var.exist( '/ProductDescription/@ProductID' ) END when you do a save, you get an "unexpected token was encountered." errors. the function is created, and the project will deploy. i cannot find any valid xpath that will be accepted to any of the xpath functions. -- bruce (sqlwork.com) Just checked, this will work in the coming CTP (5), which will be available in 2-3 weeks from now. -GertD "DataDude" Development Manager ...Show All
Windows Forms Merging MenuStrips
How are you supposed to create merge menus using the MenuStrip control in VS2005 Beta 2 I can't successfully get MDI child forms merge with the MDI parent using the merge index, and I'm not sure if I'm just not doing it right or if it is a bug. Can someone please point me in the right direction I responded to your MSDN feedback request and will provide it here to see if it holds water. Microsoft comments: I appreciate you entering the problem report. I've got a non-obvious workaround - I'd like to know if it addresses your issue and what pitfalls it may have Take the examle of File New Open >> you want custom items here, grouped Exit You could set your custom items like this: File < Mat ...Show All
