Topics
-
- 4 replies
- 990 views
Hi All, Here is a snippet of some code I have been playing around with this morning. Private Sub designIndividualTabPages(ByRef TabPage1 As TabPage, ByVal dsQuestions As DataSet, ByVal dsAnswers As DataSet) Dim counter As Int32 Dim xCoordForLabel As Int32 = 10 Dim yCoord As Int32 = 10 Dim xCoordForComboBox As Int32 = 150 If dsQuestions.Tables.Count > 0 Then If dsQuestions.Tables(0).Rows.Count > 0 Then Try For counter = 0 To (Convert.ToInt32(dsQuestions.Tables(0).Rows.Count - 1)) Dim lbl1 As New System.Windows.Forms.Label lbl1.Location =…
Last reply by davearia, -
- 3 replies
- 1.6k views
Does anyone know about a windows control that is similar to the Table control of HTML. So that the user can house other controls into it just like with Web Forms. I came up with one implementation with Panels. But its not appropriate, because the user can drag panel(s) out of that. :o Hoping an early response...
Last reply by Cags, -
- 0 replies
- 867 views
At my job, there's a windows app done in a language that's similar to VB. It's like Forms. Not a ASP.Net application. We want to create a ASP.Net/VB.Net application. One feature that the Windows app has is to that the user can change the labels on the form . There's a menu item, user clicks it, a new window pops up, it has the default values for the lables, user updates them with new values. So next time, the user sees the new values they selected. How can this be done in ASP.Net/VB.Net? How can I mark the labels on the changeble?? Any design idea or sample code would be great.
Last reply by eramgarden, -
- 0 replies
- 770 views
Thanks for taking a look. Basicly I want to build a asp webpage that in the simplest form has a combobox and a submit button. When the page loads the combobox is populated from a database, at that point the user selects an item from the combobox and click submit. When the user does this, a script will search the database for the item selected and add 1 to the exsisting value for that item. This will keep track of how many time that item has been selected. I think ASP and a mysql server for the database. This is the begining of a personal project, there is more to it but that part I know and understand. I am looking at the MS Quick Start Tutoril right now. Am I h…
Last reply by ZeroEffect, -
- 0 replies
- 1.1k views
I'm looking for a simple sample code to download and just look at the strutcure...how different layers are organized.. For example, should I create a "data layer" folder and just add the ".vb" classes under them...in VS2003, there's like a template for "business" layer ...should I use that , then create the ".vb" classes under it...should I create "class libraries" ?? I looked at MS site, I downloaded code but there's no "sln" to click on and open up the projects.
Last reply by eramgarden, -
- 0 replies
- 823 views
Is there a utility somewhere that converts an Access Database to an XML file(s)? I'm looking to use ms Access to create/populate a database and export it, with relationships to XML Access 2003 and it only supports extracting one table/view to XML which isn't really what I'm looking for. I know I can add the database into my Server Explorer, make a dataset of it, start an application and in the load event have it load the database and then export it to XML. I'm not sure if that'll pick up my relationships and whatnot and sort of limited to a machine where I have Visual Studio installed
Last reply by Denaes, -
- 1 reply
- 1.1k views
I have VS2005 and 2003 installed on my pc. My operating system is XP Pro 5.1 SP2 with IIS 5.1 For some reason I do not have an account for ASP.NET on my pc. I have never deleted this account. How do I create this account? Thanks.
Last reply by Arch4ngel, -
- 0 replies
- 1.2k views
how can i change dataview columns alignment when i set a dataset to my datagridview it display my columns incorrectly :confused: i want change column 2 and column 1 alignment together
Last reply by hamid, -
- 0 replies
- 2k views
Hi. I am making a program that I want to have 5 very short avi's to play as soon as the program is loaded. At the same time I have 5 images of the words that go with each video for people that can not hear the sounds from the video. I put them into an Array and try to have windows media player play the Array along with the image array so they come up at the same time as their video does. I then use the player.url to start the videos and it does go through each array, but when the videos load, the only one that loads is the last one or next to last one. Does any one know how to get the player to play all of the avi's in an array or even how to load the array other than pla…
Last reply by mjcs100, -
-
- Administrators
- 2 replies
- 6.5k views
I need to calculate performance on a stored procedure call and looking for ways to calculate elapsed time in milliseconds. I am using following code that gives me only seconds: Dim FromTime As Date = Now executeROApproval() Dim ToTime As Date = Now Dim DifferenceInSeconds As Long = DateDiff(DateInterval.Second, OldTime, NewTime) Dim SpanFromSeconds As TimeSpan = New TimeSpan(0, 0, DifferenceInSeconds) Any good ideas? Thanks.
Last reply by nbrege, -
-
- 2 replies
- 791 views
Hi all, First of all let me say that i'm a real novice with VS2005 and mobile apps. I've got a real problem with an application in VS2005 for Compact Framework 2 on a device running PocketPC2003. I'll try to explain the problem.... I have a number of forms that "communicate" to a backend server through a single form (I'll call it Main for identification purposes). These other forms could be menus or function screens. On creation of each form, I create an instance member for that form and for the main form as follows: //current instance of main form - for comms frmMain frmMainFormInstance; //current instance of this form - for comms …
Last reply by mjohnson3091, -
-
- Administrators
- 6 replies
- 1.4k views
I want to get all the pdf files in all folders under a directory, C:\Temp How would I do this? This is an ASP.NET app with a C# backend. TIA.
Last reply by mskeel, -
-
- 1 reply
- 731 views
I have a program where a loop should iterate every 30 minutes. Can I use a Sleep or Wait? Thanks.
Last reply by mskeel, -
- 2 replies
- 682 views
I have a new job and there's no VSS for source control here. My manager asked me this: "Could we use the source control with non .NET code?" They use IBM/AS400 and code in a language that's similar to VB6. I know .txt and other files besides .net code can be kept in VSS but how about non-microsoft code?
Last reply by tfowler, -
-
- *Experts*
- 6 replies
- 1.5k views
I'm a casual Wiki user - I use wikipedia.org for all sorts of things, but I'm no wiki master. I'm proposing the idea of a wiki for my company, to hold a repository of developer related docs at first with the potential to grow if the idea catches on. We currently use Sharpoint for our document repository but it has a LOT to be desired. Has anyone had any experience with installing and using a .net based wiki? Ideally .Net 2.0 but even a 1.1 solution would be nice. I'm looking to use this as a document repository, where our team can add pages of tech specs and various diagrams (JPGs, unless something better is supported). We have a license for SQL Server for various …
Last reply by Nerseus, -
-
- 0 replies
- 1.6k views
Hello, How can I set the ReadOnly property on the DataGridViewTextBoxCell? The ReadOnly property can have different values on different rows. I am trying to set the ReadOnly property dynamically. When i try to override the Clone method it does not contain the row index. Which method should i overrride? For example row 1 - DataGridViewTextBoxCell - ReadOnly - True. row 2 - DataGridViewTextBoxCell - ReadOnly - False. row 3 - DataGridViewTextBoxCell - ReadOnly - True. Thanks, Anica
Last reply by anica, -
-
- Administrators
- 2 replies
- 1.8k views
i has Select event for MainMenu items that occurs when the menu item is selected. in c#2005 i use MenuStrip for forms that menustrip items dont have Select event :mad: so how can i check when one of menu items be select? i want design a status bar and show menu help string for each menu item that user select it by mouse or keyboard :confused:
Last reply by hamid, -
-
- 1 reply
- 1.7k views
Hi there I am using CDOSYS on Win XP pro to try and send mail through ASP.NET. I have a mailhandler class which encapsulates all the mail operations. The problem is in the code below. Public Function SendTEstCDOMail() Dim om As New CDO.Message() Dim Flds As ADODB.Fields Flds = om.Configuration.Fields With Flds .Item(cdoSendUsingMethod) = cdoSendUsingPort .Item(cdoSMTPServerName) = "localhost" .Item(cdoSMTPConnectionTimeout) = 10 ' quick timeout .Update() End With om.From = "d1200199@qub.ac.uk" om.To = "d1200199@qub.ac.uk" om.Subject = "hello" om.TextBody…
Last reply by thompsonjulie, -
- 1 reply
- 941 views
Ok, this is my 3rd day on this new job and this is what my manager just said to me: " the companty we do business with has a lot of stored procedures etc in tempdb AND DO A LOT OF THINGS THAT ARE NOT CONSIDERED GOOD PRACTICE. We are kind of stuck in that, I read up and from my reading CLUSTER for primary key is always a good idea and there are no downsides. As soon as I did that, the app quite working". What should my response be?? Who puts stored procs in TempDB? What are the side effects down the road? If ONE client is doing that..should I suggest that we leave that client alone but for the rest, we need to change the schema?? any advice would be great.
Last reply by eramgarden, -
-
- Administrators
- Leaders
- 9 replies
- 974 views
Dear All, I've written a class which obtains data from a database. When no data is obtained an exception is raised. Because of the structure of the class I've incorporated several Try/Catch blocks which feed exceptions back. The class can be instantiated without arguments. This forces it to use a default value, however, if no data is found, even though I have a Try/Catch block surrounding the instantiation of the class, the exception is not caught... Am I missing something? Paul.
Last reply by mandelbrot, -
-
Who's Online 0 Members, 0 Anonymous, 45 Guests (See full list)
- There are no registered users currently online