|
Hi All
please in need add a Query Designer to my application so the user can create an insert statement with joins if anyone can help thanks.
Mohammad Al Hoss
Development To Me Is A Pleasure more than a Job
|
|
|
|
|
Did you try searching to see what is already available? There is at least query builder here on codeproject. There is EasyQuery.NET[^] for those you are lazy to do a simple search and prefer to pay.
|
|
|
|
|
Giorgi Dalakishvili wrote: EasyQuery.NET
That looks pretty cool.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
First some background: I'm developing an application that monitors another application. This another application (let's name it AUT - Application Under Test) is launched from my application and it records the state of the application. The AUT is a third party software so I have absolutely no control over its code.
Right now I'm launching the application and I'm recording the initial state of the AUT. I now want to be able to tell if another window opens, for whatever reason, and record its state.
In Java every Swing and AWT event goes through the Event Dispatch Thread, and I can do what I want by installing a AWTEventListener and check when a WindowEvent of type WINDOW_OPENED is thrown.
Any idea how can I do this?
|
|
|
|
|
|
Thanks that really helped.
I thought I could do this using only C# code without recurring to hooks.
Thanks again!
|
|
|
|
|
You are welcome
|
|
|
|
|
Have a struct:
struct propStruct
{
private int TheIndex;
public int theIndex
{
get
{
return TheIndex;
}
set
{
TheIndex = value;
}
}
private string Addr1;
public string addr1
{
get
{
return Addr1;
}
set
{
Addr1 = value;
}
}
....
}
On MainForm I have an ArrayList, Props, filled with propStruct.
On another form I have a SORTED combobox:
cboProperty.DataSource = MainForm.Props;
cboProperty.DisplayMember = "addr1";
cboProperty.ValueMember = "theIndex";
ValueMember is always the same value as SelectedIndex, which of course is wrong, due to sorting.
Tried converting propStruct to a class, but same result.
Nigel
|
|
|
|
|
Hi Guys. I'm working in Crystal Repors in VS 2005.
I don't know how to add two number in my report.
Example:{DataTable_BaoCaoBanHang.01} + {DataTable_BaoCaoBanHang.02}
DataTable_BaoCaoBanHang.01,DataTable_BaoCaoBanHang.02--data type are Int16
Please to help me
if you cound not try then
msgbox("you will lose")
else
msgbox("you can change yourself")
end if
|
|
|
|
|
In your crystal report field explorer,
right click on the Formula Fields
create a new formula
it will ask for the formula name
select use editor
in the Formula Workshop,
drag the desired column to add, and select the appropriate operator
then select Save and Close
your formula will be created and you can simply drag and drop it to
your report.
Hope this helps
Life - Dreams = Job
TheCardinal
CTC-RDG
|
|
|
|
|
Thanks for replay to me. So can i ask you a question??I have a table in Database Access so i want to convert all data with font to SQL 2005. I import already data but about Font i can't not convert.Can you help me solve this problem.
if you cound not try then
msgbox("you will lose")
else
msgbox("you can change yourself")
end if
|
|
|
|
|
Hi,
I've build a custom scrollbar control, as I wanted to replace
Listview's standard scrollbars, but I'm having problems, when
I try to make listview scroll, when thumb is moved.
Please, any pointers about how could I implement
scrolling functionality ?
Cheers.
|
|
|
|
|
BhNedo wrote: I've build a custom scrollbar control
BhNedo wrote: Please, any pointers about how could I implement
scrolling functionality ?
You built a custom scrollbar control before you looked into how scrolling works? Wow. I believe that's what some people call, putting the cart before the horse. Maybe this MSDN information[^] will be helpful to you.
led mike
|
|
|
|
|
Yeah, cause I looked at this example
"http://www.codeproject.com/KB/miscctrl/customscrollbar.aspx", on implementing custom scrollbars
for Panel controls, and it was easy to scroll it's content thanks to AutoScrollPosition property, so
my disappointment came when I figured out that ListView control doesn't have that property.
I already read that MSDN documentation, tried capturing WM_SCROLL message, but without success.
Anyways, thanks for your response.
|
|
|
|
|
hello Sir,
This is Balaji.V, Developing Video Application Using WindowsForms, C#.net, For recording video we are using WindowsMedia Encoder 9 series, Encoder for encoding the video. windows Media Player for Playing the video.
I need to change the Brightness, color, Contrast of the video Using Trackbars, when I drag the brightness trackbar control the value of trackbar apply to video, when I drag the color trackbar control the value of trackbar apply to video, similary for contrast
for this iam using DirectX.capture.dll, DshowNet, & the follwing code.
private void trkBrightness_Scroll(object sender, EventArgs e)
{
VideoProcAmp_prop Brightness;
Brightness = capture.Get_VideoProcAmpProp(DShowNET.VideoProcAmpProperty.VideoProcAmp_Brightness);
Brightness.lValue = (long)trkBrightness.Value;
capture.Set_VideoProcAmpProp(DShowNET.VideoProcAmpProperty.VideoProcAmp_Brightness,Brightness.lValue);
}
private void trkColor_Scroll(object sender, EventArgs e)
{
VideoProcAmp_prop Saturation;
Saturation = capture.Get_VideoProcAmpProp(DShowNET.VideoProcAmpProperty.VideoProcAmp_Saturation);
Saturation.lValue = (long)trkColor.Value;
capture.Set_VideoProcAmpProp(DShowNET.VideoProcAmpProperty.VideoProcAmp_Saturation,Saturation.lValue);
//capture.Set_VideoProcAmpProp(DShowNET.VideoProcAmpProperty.VideoProcAmp_Saturation,64);
//Settings.Default.Color = trkColor.Value;
//Settings.Default.Save();
}
private void trkContrast_Scroll(object sender, EventArgs e)
{
VideoProcAmp_prop Contrast;
Contrast = capture.Get_VideoProcAmpProp(DShowNET.VideoProcAmpProperty.VideoProcAmp_Contrast);
Contrast.lValue = (long)trkContrast.Value;
capture.Set_VideoProcAmpProp(DShowNET.VideoProcAmpProperty.VideoProcAmp_Contrast,Contrast.lValue);
//capture.Set_VideoProcAmpProp(DShowNET.VideoProcAmpProperty.VideoProcAmp_Contrast, 64);
//Settings.Default.Contrast = trkContrast.Value;
//Settings.Default.Save();
}
but it is not working, Please give me a solution how can i apply the change made by the trackbar control vaues to the video which is going to record & recording.
Thanks & Regards
Balaji.V
|
|
|
|
|
hi
im desperately looking for a third party control or software that can print a windows form,eg my windows form has a picturebox with some labels Frown
thanks very much
regards paula
|
|
|
|
|
Cross posting is considered rude. Don't do it.
|
|
|
|
|
Hi,
I want to fill the ComboBox with All the Database Names those are present in SQL Server. Is it possible? If yes, Then How???
|
|
|
|
|
You can use SMO to retrieve database names from sql server instance or you can issue a query that retrieves all database names using sqlcommand object and then populate combobox.
|
|
|
|
|
Hello everyone,
Im wondering if its possible to make my control behave in the way described below:
during editing text when user types enter normally cursor moves to the next line creating new emtpy line and then user can keep on writing. I would like to make it possible to move to another line by typeing enter only when the current line contains 10 characters.
Hope taht my description of the problem is clear,
thanks for any hint,
Witek
|
|
|
|
|
Should be possible. Check the length of the text and only allow the enter key though if the length of the text is a mutliple of 10.
Put you code in the keydown(?) event of the text box.
Hope this helps.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi Witek,
Use events of Keys (KeyDown or KeyPress or may be you may use TextChanged event) and check for the conditions (if the control contains 10 characters or so). Then put the code for execution, may be forcing a line break or something as per the requirements.
I hope this would be helpful.
John Adams
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
As the others have mentioned, wire together logic in the KeyDown event procedure. You'll have to make sure the textbox is set to handle multiple lines, as well.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Hi
I would like to design a video chat application. Please help me how to start this
|
|
|
|
|
Open Visual studio and create a new project. From that point on you're on your own.
Seriously, if you don't know how to start this then it's doomed to failure don't you think?
Bob
Ashfield Consultants Ltd
|
|
|
|