Topics
-
- 2 replies
- 1.4k views
Anyone know of an easy way/program that allows printing of all source from a solution (or project).
Last reply by Diesel, -
- 1 reply
- 2.4k views
Hi all can someone describe to me what the differences between CurrencyManager and BindingManagerBase ? it seems both of them can use to nivgate and Control Data Minpulation, even that CurrencyManager is derived from BindingManagerBase Thanks for reading ...
Last reply by Diesel, -
-
- Leaders
- 7 replies
- 2.2k views
hello i have a button in my main form that shows a modal dialogbox, the user inputs data in the dialogbox and then click ok to save the data, but the execution doesn't resume after the form.showdialog() line, heres my code: Private Sub verBotonAgregarCita_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles verBotonAgregarCita.Click Dim acitas As New aCitas 'new dialogbox acitas.idpacientecur = idPacienteCur acitas.ShowDialog() 'nothing after this line will be executed 'code to update a datagrid Dim query As String Dim citas As New DataTable query = "select id_cita,tratamiento,anticipo,fecha fr…
Last reply by Diesel, -
-
-
- Leaders
- *Experts*
- 10 replies
- 1.2k views
I've some embedded images in my app. I load them dynamically at run-time: Assembly assembly = Assembly.GetExecutingAssembly(); string assemblyName = Assembly.GetExecutingAssembly().GetName().Name.ToString(); Stream stream = assembly.GetManifestResourceStream(assemblyName + ".Images.ARROWDN.BMP"); this.butBottom.Image = Image.FromStream(stream); I've no idea how I can do this at design-time. Help :) ? Adam
Last reply by Diesel, -
-
-
- Leaders
- 3 replies
- 1.1k views
Just as described in the Application.CommonAppDataPath Property documentation, the path created on my system includes the CompanyName, ProductName, and ProductVersion. The ProductVersion is read from the AssemblyInfo file and is currently set to 3.0.508.1 and the sub-folder is created to correspond to that. However, I really want the CommonAppDataPath to reflect only the first two numbers of the ProductVersion (e.g. 3.0) or perhaps to omit the ProductVersion altogether. Unfortunately, I know of no way to do that. Does anyone have any experience with this or any suggestions?
Last reply by snarfblam, -
-
-
- *Experts*
- Leaders
- 7 replies
- 1.9k views
Anyone know how to do it in VB.NET?
Last reply by snarfblam, -
-
-
- Administrators
- 7 replies
- 4k views
I've been looking at creating an entire textbox from scratch that matches my needs, but I don't really know where to begin (apart from making a new User Control...). I've searched everywhere and been unable to find any information on making a textbox control. Can anyone point me to some information? And can someone explain how to give a control the normal BorderStyle property? Thanks! :)
Last reply by IceAzul, -
-
- 3 replies
- 953 views
Hi ya guys, Can't seem to figure this one out, would not mind some help from the experts :p Do While myReader.Read If (myReader.Item("Disp")) <> "Admin" Then Dim dateCol = New DateTimeColumn(myReader.Item("Disp")) dateCol.EditorStyle = EditorStyle.DropDown dateCol.FormatString = "dd/MM/yyyy" Me.lstDates.Columns.Items.AddRange(New Column() {dateCol}) For j = 0 To dsDates.Tables("dates").Rows.Count - 1 If Trim(dsDates.Tables("dates").Rows(j).Item((myReader.…
Last reply by bri189a, -
-
- *Experts*
- 2 replies
- 596 views
can anyone tell me how to set an tool tip from an array string ie button1 = name(0) button2 = name(1) etc
Last reply by DiverDan, -
-
- 1 reply
- 846 views
Hi all, I'm trying to do the following in xslt. :confused: The "line" under surname is what I'm after. ------------------ -Surname - ------------------ - Jones - - Smith - - Thornton - - Field - ------------------- This is my table so far but what do I add to get it to do this? TABLE.tblmain { border-style: solid; border-width: 1px 1px 1px 1px; border-style: solid; border-color: #99CCCC; padding: 4px 6px; text-align: left; font-family:Tahoma,Arial; font-size:9pt; } Thanks! Tim
Last reply by wayneph, -
-
- Administrators
- 4 replies
- 803 views
[PLAIN][resolved]reading a txt file in to an arrray[/PLAIN] i have an array of 14 values Dim sounds(13) As String and when my program closes it writes a txt file to save those values sounds.ini as follows 'file Save for sounds Dim fs As New FileStream(Application.StartupPath & "\sounds.ini", FileMode.Create) Dim sw As New StreamWriter(fs) Dim iLp As Integer Try 'Saves Sounds stored in Sounds array For iLp = 0 To sounds.GetUpperBound(0) sw.WriteLine(sounds(iLp)) Next iLp 'Close off text files sw.Close() Catch MsgBox("Could not save sound efect…
Last reply by mike-wigan, -
-
- 4 replies
- 1.3k views
Is there a way to apply an affine transformation to an entire mesh, I looked but couldn't find any methods that seemed to do the job. What I mean is - I don't want to use Device.Transform.World matrix anymore to transform the mesh at render time, I'd rather transform the mesh in place and change the actual positions of the vertices (like, translate Mesh.Sphere out of (0,0,0)). I'd also like to avoid opening the vertex buffer and manually aplying transformations to vertices and recalculating face/vertex normals, if possible :D Is there a way to do it? 10X, Janko Jerinic
Last reply by IngisKahn, -
- 17 replies
- 1.5k views
Ok heres some code In this code you will see something like this For iv As Integer = 1 To verseCombo.Items.COunt nextThe way the verseCOmbo works is this when chapCombo.Text has chapter 1 for exampe then it populates verseCombo with item numbers 1 to what ever the total Number of verses in the chapter are that info is pulled from a vInfo file which looks like this Example For the Book of 1 John there are 1-10 Chap 1 has 10 vereses 2-29 3-24 4-21 5-21 Chap 5 has 21 vereses So again when chapCombo.Text reads chap "1" Then verseCombo is populated with the numbers 1 - 10 Ok with that said here is my code Oh one more thing, the results …
Last reply by bri189a, -
-
- Administrators
- 2 replies
- 2.9k views
Is there anything in C# equal to Exit statement (Exit Sub to be more specific) in VB.NET
Last reply by vavjeeva, -
-
- 1 reply
- 1.1k views
hello i have a datagrid, the first time i bind it to a dataTable it shows the rows and cols correctly, but after updating that table in the db and binding again to a new datatable it still shows the old records, i have no building/runtime errors, i use odbc and an access 2000 db, what can i do to bind the datagrid to a new datatable and force it to show the new data ?? thanks for your help
Last reply by georgepatotk, -
- 0 replies
- 879 views
The type or namespace name 'localhost' could not be found (are you missing a using directive or an assembly reference?) I have added a web reference from the local host but am still getting the above error localhost.EmailService test = new localhost.EmailService(); This is a project I have come back to and it worked before for the following net.xxx.app.ldnuat3.EmailService test = new net.xxx.app.ldnuat3.EmailService(); but even now this one is not working either.... this is the web reference i added here ... http://ldnuat3.app.xxx.net/wes/EmailService.asmx?WSDL why is something that worked before now not working.... i have used a lot of web services…
Last reply by ace333, -
-
- Leaders
- *Experts*
- 10 replies
- 1.5k views
I get the following bug and use the below work around: Have 4 text boxes with the following numbers, I have to keep numbers and total at the 100th's precision, so these are valid inputs: 99.69, 0.05, 0.21, 0.05 Total the four in a loop as so: (Pseudo code - important part is just the loop) Dim total as Double For i as Integer = 0 to Me.txtBoxesCollection.Count - 1 total += Convert.ToDouble(Me.txtBoxesCollection(i).Text) Next i I end up with 99.999999987 or something weird like that - don't know why. I get this. If I change my code to force the round it works fine - problem is that the 0.21 when added to the total acts more like 0.2000000009???? I…
Last reply by penfold69, -
-
-
- *Experts*
- 3 replies
- 867 views
I want to have seperate actions for "click" and "doubleclick" but the problem is the click event is first called on every doubleclick! Is there any way i can overcome this?
Last reply by DiverDan, -
-
- 0 replies
- 777 views
I've written some custom scroll bars and i want to associate them with a Panel's autoscroll implementation. That is whenever the autoscroll comes into action and the scroll bars appear, they should be the ones i've specified. Is there any way to do that?
Last reply by agarwal, -
-
- *Experts*
- 2 replies
- 1.5k views
hello, how can i get the value of the autonumeric key field for the last inserted row in an ms access database using odbc (something like mysql's mysql_insert_id() function)?? thank you
Last reply by Nerseus, -
-
Who's Online 0 Members, 0 Anonymous, 50 Guests (See full list)
- There are no registered users currently online