|
Not possible in windows apps / services , only way is u write a asp.net web application, and host it in a web server that has .Net framework, access your web application from any client machine that has a Internet explorer browser!
Karam C Bose
|
|
|
|
|
Mono..(not technically .NET framework )
|
|
|
|
|
I want to display a picture <full screen="" size=""> and play a sound < .wav or .mp3 format > with the use of DirectX 9.0. How I going to do this?..
Plz help....
|
|
|
|
|
Download DirectX, and then take a look at some of the samples. Alternatively, Google for DirectX samples. These are such large areas, that you aren't going to get help on the forums. You will have to do some digging/learning yourself.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
hai
pls need help, iam newbie to the .net, working on wildacard search, iam using *, ? but ? is not working properly, my code is
private string BuildFilter()
{
string filter = "1=1";
foreach (string key in filters.AllKeys)
{
filter += String.Format(" and {0} like '{1}*'",
key,filters[key].Replace("'", "''"));
}
foreach (string key in exactFilters.AllKeys)
{
filter += String.Format(" and {0}='{1}'", key, exactFilters[key].Replace("'", "''"));
filter += String.Format(" and {0}='{1}'", key, exactFilters[key].StartsWith("'"));
}
foreach (string s in exactFilters.AllKeys)
{
filter += WildCardSearch.Match(Text, s);
filter += String.Format(" and {0}='{1}'", s,exactFilters[s].Replace("'", "''"));
filter += String.Format(" and {0}='{1}'", s, exactFilters[s].IndexOfAny(Wildcards));
}
return filter;
}
can anyone help me what i ahve done wrong.
|
|
|
|
|
I've a form filled up with a tabcontrol.
Is it possible to place a control (any) that it will be common to every tabpage?
When I try to add a control directly to tabcontrol I get a error (only tabpages can be added to tabcontrol!). When I add a control to a tabpage I'm not capable to make it available on every tabpage anymore...
Anyone can help? Thanks in advanced.
|
|
|
|
|
It is imposible to add a control to a tab control. It only takes tabPages so you should add a copies of the control to all the tabPages.
good luck
|
|
|
|
|
If u dont want to rewrite code, you can place the control / controls in a panel and add the panel to each tabpag during runtime.
Ex: let me have a set of controls and functionality in a panel and this panel is available in form say frmReUseForm. and panels name is panel1 (make the panel public)
in my form that contains the tabcontrol with tab pages,
i write the following code, may be in constructor ,
frmReUseForm obj = new frmReUseForm();
tabpage1.Controls.Add(obj.panel1);
tabpage2.Controls.Add(obj.panel1);
tabpage3.Controls.Add(obj.panel1);
tabpage4.Controls.Add(obj.panel1);
hope this helped you,
thanks.
live and let live
|
|
|
|
|
I am not the one who posted the question so u should direct your reply to the poster not to me
Thanks anyway
|
|
|
|
|
One small mistake, please add the panel to the tabpage on the paint event of each tabpage
private void tabPage1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
{
tabPage1.Controls.Add(obj.panel1);
}
private void tabPage2_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
{
tabPage2.Controls.Add(obj.panel1);
}
|
|
|
|
|
Hello,
You would have to do that dynamicaly.
The TabControl has an SelectedIndexChanged Event.
System.Windows.Forms.Control.ControlCollection oldContainer;
YoureTabControl.SelectedIndexChanged+=new EventHandler(TabControl_SelectedIndexChanged);
private void TabControl_SelectedIndexChanged(object sender, EventArgs e)
{
if(oldContainer!=null)
{
oldContainer.Remove(YoureControl);
}
YoureTabControl.SelectedTab.Controls.Add(YoureControl);
oldContainer = YoureTabControl.SelectedTab.Controls;
}
Hope that helps!
All the best,
Martin
|
|
|
|
|
this is an excellent post
http://sirotiyasanket.blogspot.com/
|
|
|
|
|
Do you know anything more than saying "This is an excellent post" or "This is a very good post"
try to be more creative
|
|
|
|
|
Mal-Functi wrote: Is it possible to place a control (any) that it will be common to every tabpage?
Suppose you have a text box named tb1 on the first tabpage. Now:
If you want to access its value, simply put
MessageBox.Show(this.tb1.Text);
or if you want it to be displayed on each page when the page is selected, then put the following line of code in the tab control's Selected event:
tabcontrol1.TabPages[e.TabPageIndex].Controls.Add(this.tb1);
Hope this helps.
Regards
________________________________
Success is not something to wait for, its something to work for.
|
|
|
|
|
I am not getting any option for viewing my own old questions.
Plz help me?
|
|
|
|
|
|
thanks
I got through the link.
Is there any menu in the site?
thanks
|
|
|
|
|
Hello,
Rabindra Patra wrote: Is there any menu in the site?
I'm not sure if I understand what you mean, but if you whant to see your personal datas you have to just click on the Logginname (on the right top of the screen) or at the head next to youre name at the post.
All the best,
Martin
|
|
|
|
|
I want to show a power point viewer embeded in a formwith a specific size. how to do it?
I have used process object and started the process of pptviewer2003 and then using api resized and relocated.
the viewer exe resized and is in the desired position but the presentation is in full screen.
so please help me.
Thanks in advace
Ravi Kumar Patra
|
|
|
|
|
I have a wireless webcam that has its own network on it. I can connect to it using my wireless card, and I can Ping it using the Ping class, but I need to get the data from it. Is this possible at all?
I love to program!
|
|
|
|
|
Hi,
I'm using .NET 1.1 and Visual Studio 2003.
I am writing an application to display a webpage in it's window.
That's all.
I have the following queries:
1. How do I packaged the graphics, html files etc. with my exe?
2. What control can I use to display the web page in the application dialog?
3. Will links work?
Thanks
ASP - AJAX is SEXY. PERIOD.
|
|
|
|
|
this is relly a good posting
http://sirotiyasanket.blogspot.com/
|
|
|
|
|
Hi there,
I hope that every .net programmer knows about app.ico. If not then create a windows application in c# and check out the working folder. You could see such a file there. This file is the picture file that is displayed in the exe file(check out debug folder of your application). Now what i need is, i want to change this app.ico through c# coding. Is it possible for changing the application icon at runtime without re-compiling? When i mention a .ico file, at runtime, this new .ico file should replace the existing default app.ico file and my .exe file in debug folder should also posses this image. How can this be made?
-- modified at 1:37 Tuesday 12th December, 2006
|
|
|
|
|
Hi ALL,
In DataGridView -> Columns -> Column Type,
we can have any one of the following: Button, Text box,
Link, Combo box, check box, image.
But I need to have a list box for one column.
I should be able to select more than one item from the list.
Since it's NOT possible to have multi-select combobox,
I'm looking for a list box in DataGridView column.
Any suggestions would be greatly appreciated.
Thanks in advance,
Sarvan AL
|
|
|
|
|
Hi,
Did you try to add custom template,
you can add any control on the custom template in asp.net control of grid.
Cheers.
|
|
|
|