luai7's Q&A profile
Visual Basic Moving projects
Hi there, This might be a really stupid question but I'm having trouble saving VB.NET projects in other locations as backup. What I want to do is save the project somewhere (eg memory stick) so that if something bad happens I've got a copy somewhere. However, when I choose save as a message box pops up stating that the project must be saved in the original location. I can save the forms and module elsewhere individually. Thats fine for this project as there are only a few things in it but what about larger projects I can save the solution elsewhere but then it can't find the project because it's expecting it in the original location. What I need to know is, is there a way to save the project, taking the forms with it, in another l ...Show All
Microsoft ISV Community Center Forums Access and Graph
Is it possible to change the Markers than come ready to use in MS Graph . I need to print a chart using this markers: "<" and ">" instead of tiangle, * , - , _ , + etc. does any one can give me any kind of help in this matter . Hi, It's not possible directly through the OM although you can apply customer markers manually using copy/paste where the marker is a autoshape or picture. You could possible use this approach which is to set the fill pattern of a column chart using an external image file and then change the chart type to line with markers. Not sure how suitable or usable this is in conjunction with Access though. Sub xx() Dim objGraph As Graph.Application Dim objCht As Graph.Chart Dim objSeries ...Show All
.NET Development SourceTable and SourceField
Hi I'm upgrading my code based on DAO to ADO.NET in VB2005 and got stuck looking for SourceTable and SourceField properties of DataTable fields. DAO.Recordset.Fields have .SourceTable and .SourceField properties which tell you the original table/field which provides the data in that particular field of the recordset. This is useful in my application where I am filtering users' queries to the database to see whether I want to allow them access to that particular bit of data. Although I can imagine that there are maybe other solutions to security issues, I've already built a whole system around this method, and would like for simplicity's sake just upgrade it without changing the methodology. Can anyone advise where to g ...Show All
Visual Studio Express Editions MSAccess Reports in VB.net
hi Friends i have made a project in vb.net 2005 express Edition and MsAccess. As Express Edition dont have crystal Report with it i have used msaccess reports. but im having problem print reports from vb. im using COM for Access, (DoCmd for Access object ) it is printing the reports when im using unbounded Access Database, but when i used database bounded with my project, it is giving me error message that MDB file is missing or opend exclusively, please help me so that i can print the Access report and tell me the code by which this database can be made non-exclusive for the moment and again can be made exclusive after i print the report. Thanks in advance. ...Show All
.NET Development Painting
hi, i my project i drawn in the webpage using javascript, i created on div named "panal" with in that i drawn with the help of the mouse, i copied that content to clipboard, when i view the clipboard, ClipBook Viewer Cannot display the information in its current format.To View the information try Pasting it into a document. when i paste that content in MS word or in Frontpage the drawn object is pasted in the document, how can i pass the div tag content in QueryString in ASP.NET, how can i convert this Current Format into Image, Please Guide Me, Thanks In Advance The forums at http://forums.asp.net are better able to answer UI questions. Thanks. ...Show All
Visual Studio Team System Error when running tests: Column 'TestType' does not belong to table test.
I and everyone on my TFS team is getting the following error message box when trying to run unit tests: --------------------------- Microsoft Visual Studio --------------------------- Column 'TestType' does not belong to table test. --------------------------- OK --------------------------- I checked the TFS databases, and I couldn't locate any table named test, so I'm not really sure where else to look. Has anyone seen this before We've been able to run tests before and this just started happening today. We are using the RTM version of Visual Studio Team System with TFS Beta 3 Refresh. Did anybody find a solution to this, now I have the same problem It use to work fine. (Visual Studio 2005 Team Sys ...Show All
Visual Studio Express Editions AutoIncrementing UniqueIdentifier column in SQL databse table giving NoNullAllowedException!
Visual Basic 2005 Express: In my SQL database table, I have a CustomerNbr column. In Database Explorer's table definition it has "UniqueIdentifier" as it's data type, and is set as the PrimaryKey. In the XSD Designer, this field is set as the primary key, AutoIncrement=True. DefaultValue is <DbNull>, but, it won't let me remove this! When I add a record to the DataGridView, it correctly puts a "1" in the CustomerNbr column, but, when I update the record, I get a System.Data.NoNullAllowedException! back to the original problem, I had a look at the database schema. The problem was that the uniqueIdentifier field - you cannot set it to autoincrement but its set to uniq ...Show All
.NET Development The AppSettingsReader and app.Config file
I'm trying to set up a simple SQL database connection with hostname, user, login, and password information located in the app.Config file. I added an app.config file through Add -> New Item -> Utility -> Configuration file. I'm using VS2005, a managed C++ Windows XP Service Template. I declare my AppSettingsReader: AppSettingsReader^ reader = gcnew AppSettingsReader(); The problem I'm currently having is that when my code gets to: m_DatabaseConnection.m_strHostName = (String^)reader->GetValue( "Hostname" , m_DatabaseConnection.m_strHostName->GetType() ); It says it can't find the Hostname. I get the same error if there is no app.config file, so I'm thinking that it can't find it. Is there a dir ...Show All
.NET Development Connection String problem with MSDAORA.1
Hi. I have two connection strings for my application, one using Microsoft ODBC Driver for oracle, and another using Oracle ODBC Driver. I am getting "Object not found error( ASP)" when I use MSDAORA.1. I am using oracle 8i. Thanks. Sandeep Chanda wrote: Hi Paul, Its every line which has a CreateObject call. I'm sorry but that isn't enough information. What object are you trying to create Code would help. In any event, if this can't be resolved in the next response or so I think you're going to have to follow David's suggestion since this isn't really a .NET question. As much as I would like to help you resolve the issue I'd rather not continue to breach the forum etiquette. ...Show All
Windows Live Developer Forums Windows Live Messenger Not Working
Hello , When i try to run Windoes Live Messenger I get this window http://img333.imageshack.us/img333/9122/untitled4ga.jpg My friend told me that it may be fix by giving my his files from : C:\WINDOWS\WinSxS He gave me those foulders :- 1- x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.91_x-ww_0de56c07 2- x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd 3- x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c i replaced them over my files and now i get this : http://img147.imageshack.us/img147/1849/untitled0om.jpg and then Windows Live Messenger still not working :( .. Please help me I'd try re-installing: here a link to the latest release http://get.live.com/messenger/overview Note: ...Show All
Windows Live Developer Forums Robot Invaders Contest - Who did you vote for?
The robot invaders contest ( www.robotinvaders.com ) is closed for new entries, so all bots are in. A total of 51. With $40.000 in prizes, everybody of course wants to win. But which bot do you think will make a good chance The prizes: Grand prize (1): AlienwareR MJ-12 7550 Workstation First Prize (1): BoseR LifestyleR 48 DVD Home Entertainment System Second prize (5): AlienwareR Sentia M3200 System Third prize (10): GarminR nuvi 360 User's choice: 80 GB USB Portable Drive / DX1 Input System / LED Binary Watch The bot with the most votes on September 15th gets the user's choice award. It looks like that would be " samplebot@hotmail.com " with a total of 412855 votes! Amazing. Last time I talked to that bot though it could ...Show All
Visual Studio Express Editions No error message just no result? Combobox not reading input?
Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me .M1(a) Private Sub ComboBox1_TextChanged( ByVal sender As System.Int32, ByVal a As Integer ) End Sub Private Sub M1( ByVal aa) Dim gg, ll, ff As Integer Dim mm As New Random gg = aa + 1 ll = 0 While (ll < gg) If aa > 0 Then ff = mm.Next(1, 9) End If TextBox1.Paste(aa) ll = ll + 1 End While My broblem i believe is the nuber is not being read in the combo box DeedToPootang, Is this post the same with your privious one: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1064 ...Show All
Visual Basic Print contents of picturebox
In my application lines and text are drawn in a picturebox. My problem is that I struggle to print the contents of the picturebox. The picturebox doesnt contain an image, only text and drawn shapes. INFO: I am using Visual Studio2005 to create the application (VB.Net) Operating System: XP Pro Christie I hope my enquiry isnt too late. Actually I am using similar method to draw on Picturebox. Thx nobugz, I managed to print this Picturebox contents. nobugzs, I wondered, do you have the method that you mention here (to print Picturebox) which enable me to specify the print origin I did as you shown here: Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal ...Show All
Smart Device Development How setup Cellular Line (GPRS) modem by visual C#
Hi, May I ask, How can I setup a new connection for GPRS on a windows mobile 5.0 PPC by visual C#. Actually, Before I start any application in the PPC to communicate the web, I set up a connection manually: Start_Settings_Connections_Add a new modem connection_My Connection_Cellular Line (GPRS)_.... I want to do it automaticaly on each Hard-reset. What is your suggestion Thanks I got it. Thanks. I changed the code as bellow with extra <wap-provisioningdoc> tags then have made cpf file and everything works fine: <wap-provisioningdoc> <characteristic type="CM_GPRSEntries"> <characteristic type="GPRS1"> <parm name="DestId" val ...Show All
SQL Server Microsoft.SqlServer.Dts.Pipeline.DoesNotFitBufferException
Hi I have a SSIS project that has one parent package and three child packages. When I run the project on my development machine in debug mode it works fine. Also if i run the packages using dtexec on my development machine it still works fine. However the problem comes in when I try and run the project using dtexec on the staging server i get the following error: Microsoft.SqlServer.Dts.Pipeline.DoesNotFitBufferException: The value is too large to fit in the column data area of the buffer. does anyone have any idea how to fix this please thanks G Pipeline Buffers are not shared between child and parent packages. Could you describe what the packages are doing What component reports th ...Show All
