Does any one know of a way to export timeline scripts? I want to be able to dump all the scripts into a text file.
Thanks!
User Profile
Collapse
-
Export Timeline Scripts
-
I need to read the points in.... -
AS3 and Shapes programming
Is there a way to get the points of a shape programatically ? -
I think I have answered my issue. I removed the default FILL statement (in the form load event) that gets autogenerated in the IDE. My application pulls over 20K records so that would create a huge lag in performance. So when I called AddNew from the Master BindingSource it left the ID as 0. And sending 0 as the foreign key values to all the detail tables. So I created a query in my datatables to pull the Last record and load up the dataset intially....Leave a comment:
-
Updating Master – Detail Records
My application utilizes a dataset with a couple of One to Many relations. If the user adds a new record and adds information to the master part of the form and adds information to the detail part of the form then clicks save. The master record gets saved and the detail throws a “INSERT statement conflicted with the FOREIGN KEY constraint … The conflict occurred in “MasterTable”, “MasterTableID” .
My save routine goes like... -
BindingSource and EndEdit
I'm totally mystified!
I have a form with fields that are databound to a bindingsource. (bindingsource is attached to a datatable and so on and so on.) Everything updates fine except for one field (PRICE). Everytime I call EndEdit on the bindingsource it always reverts back to the inital value that was created when the record was created.
I've checked the dataset time and time again and the PRICE field is:
Unique:... -
...Code:For Each ctl As Object In Me.components.Components If TypeOf ctl Is BindingSource Then Debug.Print(CType(ctl, BindingSource).ToString) CType(ctl, BindingSource).EndEdit() End If Next For Each ctl As Object In Me.components.Components If TypeOf ctl Is System.Data.SqlClient.SqlDataAdapter ThenLeave a comment:
-
-
Killer's example should work for you. With a minor tweak to shoot it into Excel.
[code=vb]Private Sub ConvertFile()
Dim Text As String, Field(1 To 3) As String
Open "OldFile.Tx t" For Input Access Read Shared As #1
Do Until EOF(1)
Line Input #1, Text
SplitText Text, Field()
ActiveCell.Valu e = Field(1)
ActiveCell.Offs et(,1).Activate 'move the active cell over one...Leave a comment:
-
I'm not sure what you mean by that?
Are all the records the same length? Do the have and delimiters?...Leave a comment:
-
Looping through all controls problem
I’m working on a security function that changes the state of a control based on your user role. So a control can be set to visible/invisible and enables/disabled based on the login’s user role. I wrote a function than iterates through every control on a form, then applies my security rules and then re-runs the function for the current controls controlscollect ion.
...Code:Private Sub ApplySecurity (pCtl as Control) ‘… apply security
-
Can you post a small sample of the file?
In the example can you denote where the header is jumbling the column.Leave a comment:
-
IDE erases DataSource from BindingSource
I've been experiencing this error time and time again and I believe it’s a problem with the VS2005 IDE. I have a form that uses a dataset with foreign key constraints and the appropriate bindingsources applied to my controls. After a compiling the project a couple of times here and there the IDE Generated code erases the datasource from my bindingsource. It’s reeks all kinds of havoc in my code and I have to re attach all the bindingcontexts... -
Ok I figured it out. Turns out that the IDE generated code somehow lost the datasource in the master Bindingsource. Hence why it could not find the relations.
So I had to dig throught and add the Master table to the Master bindingsource's datasource. The only problem then what I had to go through the forms and reapply the bindings to my textboxes and comboboxes.Leave a comment:
-
DataMember property 'RELATION_Name_Here' cannot be found on the DataSource
I'm gonna pull my freakin hair out!!!
This is the second time I had .Net lock me out of one of my forms with this error.
I have a relational dataset and on a particular form there is the master table view and all the relational children views. After a while the IDE appears to not even be checking the structure of the dataset and I get a warning saying that the datamember cant be found on the data source.
When... -
Validate Event on Text box
I'm ready to pull my hair out with this!!! I'm trying to validate a textbox so that only a Integer or a Decimal can be entered. If I enter a 1 in the box it validates fine and the focus moves to the next control. If I enter 1.5 it validates but the focus is locked into textbox and I can't click or tab out of the box. I tried flipping the e.cancel value but that did not work.
Here's the code:
...Code:Private Sub txtInterest_Validating(ByVal
-
Set terminal settings for a plotter printer - stty
I'm trying to hook up a HP7550 pen plotter to my iMac running Tiger 10.4 via a USB to RS232 adapter.
Can someone tell me how to set a tty port using stty?
I need to set the port /dev/cu.usbserial to
9600 baud
Xon/Xof
Full Duplex
8 bit parity Odd -
-
Box characters from SQL CRLF output
When returning results from a SQL query containing 'char(10) + char(13)' to a multiline textbox results in box characters instead of the line feed. How do i get VB.net to interphret the line feed correctly???
Example:
CUSTOMER_Addres s.Address + char(10) + char(13) + CUSTOMER_Addres s.City
Returns:
123 Fakestreet □□ Fake City -
VBScript - Open 2 Explorer windows and resize
Is there a way via vbscript to open two explorer windows (I want them to both open up My Pictures) and put them side by side. Preferably, so that each window takes up 50% of the screen.
No activity results to display
Show More
Leave a comment: