After
Type: Posts; User: wiss.dev
After
Button is on a form that is displayed as a dialog. there is another 15 buttons with no such problems, and a read only text box. No data access preceeds the click event. and it only occurs on the very...
i have this bizare issue and can't see what is causing it. on my form i have about 20 buttons with code in the click events. one particular button hangs for about 15 seconds before triggering the...
Sub New(nordId As Integer, dt As DateTime, ordNum As Integer) ' none of these parameters are ever used!
' This call is required by the designer.
InitializeComponent()
''...
select * into newTable from OldDatabase.dbo.OldTable
ingCellStyle is declared globally, i set its property in the New() sub. then on the loadDetails i apply this style to rows that pass the conditon. I have had a similar issue before, where i was...
here is the code on the main form
Private Sub Screen_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
loadCards()
End Sub
Sub loadCards(Optional nNo...
i add the user control multiple times on the main form, would there be a referrencing issue the way im doing it ?
in the usercontrol constructor i set the grid data source and then check rows data...
I created a user control with few labels, buttons and a dataGridView. I add the control on the fly and based on some conditions I apply different styles to data row.
1 ) styling works when i test...
Thanks Guys, much appreciated. Devexpress xtraGrid Card view does exactly what i want in just one line of code :)
Last in must show on top left, i may drop the table layout and just work with location properties. you are right I guess, this requires repositioning the objects for every new team or when a team is...
Hi All,
i need some suggestions on how to achieve this please, my program records team and team member names as they come in. i need to display these teams (in this order: Last in shows first ) in...
i use this code to send emails via outlook, it works fine if outlook is open and returns an exception otherwise, is there a way to send emails while outlook closed
here is my code:
Try
...
Thanks .Paul,, this worked :wave::wave:
1st error:
Operation is not valid because it results in a reentrant call to the setCurrentAddressCore
2nd error:
object ref not set to an instance of an object
Hi,
i have a dataGridView and I'm trying to automatically move focus to the second cell on the current row when the first column receives focus. i tried these 2 methods below and both returning...
Hi ALL, my program uses formulas and prompt users for variables values e.g.
Height= "(x*2)-5+y/2"
then i do:
height.replace("x","5.5").replace("y","9")
now how to evaluate height into a...
Hi guys,
i'm using code 128 font on visual fox pro labels, but print outs are not recognised by the scanner. it seems not to be printing check digits when i compare it to the same code from another...
use . instead of , in the decimal number ( e.g. 4.5)
Hello, in my program i allow users to create templates which is entered into a datagridview. and i guess the best approach to save it is to serialize the datatable into a string and save it to an SQL...
Thanks, eval() worked for me.. any ideas how to display data based on mouse position over the canvas
here is an example: http://www.koolchart.com/demo/
check out Barchart
Im actualy doing an sql xml query so the data is returned in xml format, i also tried using ds.writeXml() method, nothing changed though
Hi,
in the text file i get < names > how to get <names>
Dim xmlDoc As XmlDocument = New XmlDocument
xmlDoc.LoadXml(ds.GetXml)
Dim Output As New...
Hi All,
need some suggestions here, i'm building web page on my website to list calendar appointments which i can query from an sql database on my local server. The first idea came to mind mind was...
hi all,
i have written an API in html5. and this is how i load it
$(document).ready(function(){
oChart= new _chart("canvas4");
oChart.props.values= = [{ Name: "Rob", max:33, actual : 10,...
how do you loop a temporary table ?
im writing a stored procedure, trying to avoid the use of a cursor but cant think of a work around. here is a sample example of my case.
i have tables : customers and orders
first i query the...
any ideas ??
i created a chm file that i need to attach to a HelpProvider on both F1 and help menu item, i set the HelpNameSpace to the correct file
HelpProvider.SetShowHelp(Btnhelp, True)...
Thanks again, i do understand scoping, and you are right, it might be a bad design because i don't know another way of doing it. would be great if you have an example of
That was my first thought, but i have frmB2b defined in the startup main form, are you saying that id need to change the scope when defining frmB2b ? how can i refer to the new instance (frmB2b) from...
Thanks for the details, but that is exactly what i'm doing
Dim frmB2B As New B2B
frmB2B.ShowDialog(Me)
i have another, class where i put all the common function and subs
from what...
is that something in the form properties, or project properties that i can switch off ??
i read your blog and did some research.. i cant really see what i have missed
in your example you did this :
Form2.TextBox1.Text = Me.TextBox1.Text
in my class 2 i have :
...
one more thing, i call a public shared sub in a another class in the dowork event, but its not updating the progress bar,, any ideas ?
here is an example :
Private Sub...
actually it was the PK that was missing. i created it and all seems to be back to normal now. Thanks for the info :)
I have a table with about 200,000 records. so last week i decided to reduce the size to optimize performance so i backed up the table using
select *into table_1 from table
after few days, i...
Thanks for the info , will keep it in mind. the issue was that i was calling subs/functions in sequence with BackgroundWorker1.Dowork which got evaluated at the same time . so i had to call the other...
because i always thought that 0 and 1 are short cuts for true and false and never had issues with that.
as for the backgroundWorker, i will test updating the progressBar using the b/worker progress...
Great Thanks.. just one problem sometimes when processing larger amount of data, program hangs, right after displaying the complete message, after the BackgroundWorker1.RunWorkerCompleted event and i...