|
Try googling it.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Helpful, intelligent answer. Google directed me here when googling it..
|
|
|
|
|
Hi,
I have given subquery like this..
SELECT DISTINCT product1, product2, product3, product4
FROM onlinegoa2
WHERE (product4 IN
(SELECT DISTINCT product4
FROM onlinegoa2 AS onlinegoa2_1)) OR
(product3 IN
(SELECT DISTINCT onlinegoa2.product3
FROM onlinegoa3)) OR
(product4 IN
(SELECT DISTINCT product4
FROM onlinegoa2 AS onlinegoa2_2))
Its working fine, but i have to get the distinct value of product1 to product4...
krishna
|
|
|
|
|
Did you get this to work yet?
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
HI,
I have given the sub query like this....
SELECT DISTINCT product1 FROM onlinegoa2 WHERE(product2 IN(SELECT DISTINCT product2 FROM onlinegoa2 AS onlinegoa2_1)) OR (product3 IN (SELECT DISTINCT onlinegoa2.product3 FROM onlinegoa3)) OR (product4 IN (SELECT DISTINCT product4 FROM onlinegoa2 AS onlinegoa2_2))
Its working but iam getting the output data's only from product1 and product2....i has to display up to product10....can u pls help me display all the product columns.
krishna
|
|
|
|
|
Did you get this to work yet?
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Hi all,
I'm new to .NET environment. I wrote an assembly in C#. This will take the Handle of the form from the client application and sets the form of this assembly as child to the Client application form.
When i send the parent handle from the .NET client the form in the assembly appears as child form. But when i send the parent handle from the COM comaptible language(VB6 or VC++) forms,it doesn't appear as child instead it appears outside of the form.
My code is
<u>In MyAssembly.dll</u>
public bool Create(long hwndParent)
{
ChildForm f = new ChildForm(); // object for the Form present in the Assembly
f.TopLevel = false;
f.Parent = Form.FromHandle((IntPtr)hwndParent);
f.Show();
return true;
}
<u>From VC++ Client</u>
{
IFramePtr pChildFrame; //Object for the Assembly
HRESULT hr = pChildFrame.CreateInstance(__uuidof(CFrame));
if(FAILED(hr))
{
AfxMessageBox(_T("Failed"));
}
pChildFrame->Create((long)this->m_hWnd);
}
Can any one please help me
Thanks in advance
|
|
|
|
|
Did you get this to work yet?
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Hi,
I need to create a WebSite in Sharepoint 2007 by programatically using Web Services. After creating a WebSite I need to Create a Document Library. I need to upload files to this Document Library too. All these I need to do using Web Services (using Sharepoint Web Services only). Can you please help me ?
Expecting your early reply
Regards
Mohamed Nazeem
Software Engineer
Bangalore
|
|
|
|
|
Friends,
i need some sample questions those can solve by using control structures in c#.
i expect this progams should give indepth knowledge about the control structures in C#..
|
|
|
|
|
What do you mean by control structures ? Do you mean things like if/else and switch ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
yup the same
self confidence+hard work=SUCCESS
|
|
|
|
|
Why did your username change ?
Buy a book, that's ground level stuff, if you don't know it, you should be buying a book anyhow.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hope u din get my question
actually i need some sample questions those can be don by control structures.....
if anyone do this program thy should hv more knowledge abt that ctrl structure....
i need to make test to my staffs so i asked,,
self confidence+hard work=SUCCESS
|
|
|
|
|
Murali.S wrote: i need to make test to my staffs so i asked,,
Check out http://www.questpond.com/[^]
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
hi all
good morning.can anyone tell me how to apply styles to a grid control.
i want a design like this.
i have a grid control in which the header should be displayed in a different style and the contents in another style.(i have tried applying styles through stylesheet but it is not working with grid.)how to set the style only for the header in the grid.
i have set the paging property of the grid.i want to display in the footer of the grid as follows.
"Records: 1 to 10 of 25 - Pages: 1|2|3"
pintoo
|
|
|
|
|
I have a C# class library (MyInterop.dll) with interface method for COM Interop. I have VC++ app which will load the C# library and invoke the methods at run time.
I know that if i use #import (MyInterop.dll) and then CreateInstance() to invoke the interface method it works. But my requirement is to load the dll at run time. hence i cannot use #import()
VC++ program will know only the dll name. Based on the DLL name i tried to use LoadTypeLib(), GetTypeAttr() to get the CLSID. And then based on the CLSID i want to create an IDispatch instance
CoLoadLibrary(), GetProcAddress(), ClassFactory(),
CreateInstance(, IID_IDispatch, &m_dispatch)
The call to LoadTypeLib("MyInterop.dll") returns Error loading type library/DLL
Please help
Thank you
|
|
|
|
|
Hi,
Is it possible to create user-defined controls (.ascx file) and use them in windows applications. If so can anyone provide links, resources.
Thanks and Rgds,
PLS
Long Live
|
|
|
|
|
No. You can create user defined controls, but they can't be ascx files, they need to be winforms controls.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
Thanks Christian Graus.
Long Live
|
|
|
|
|
Hello I am new to this forum... I have a quick question... well I've created a Address Book, basically as my first program that I want to show my family.. On the first form it is all textboxes, datatimepicker, and a picturebox.
You click the menu to open the DataGrid form I created.. in this I have a DataGridView. I have two problems. The DataGridView is always missing the first row of data. ID is the primary key and auto increments. It is always missing the first one... Also how do I get the table to display the image they chose with the person they added? I have the column as a image column but it will not display. The Picturebox is in the database. Here is how they load the picture:
try
{
DialogResult result = new DialogResult();
OpenFileDialog openfile = new OpenFileDialog();
result = openfile.ShowDialog();
if (result == DialogResult.Cancel)
{
return;
}
else
{
picturePictureBox.Image = Image.FromFile(openfile.FileName);
}
}
catch (Exception ex)
{
toolStripStatusLabel1.Text = ex.Message;
}
One --> how come the datagridview is missing a row all the time?
two --> how do I get the picture to display in the datagridview?
I will be adding something where they can print the information in this format:
FirstName LastNAme
Address
City, State Zip
Home Phone, Cell Phone, Fax
I will get to this later, I am goign to try to figure that one out myself, but with the datagridview and the picture I have been messing with for a while and can just not figure it out.. Thanks
|
|
|
|
|
Hi,
two --> how do I get the picture to display in the datagridview?
maybe this can help you
|
|
|
|
|
|
TextBox get focus always, like msn messager's input-box.
How to do?
|
|
|
|
|
Probably call SetFocus each time the textbox is no longer in focus.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|