|
hello,
thanks a lot for your reply, dear once i had seen such kind of backup in an oracle database, he was creating a file which was in unreadable format and recovers the whole database so is there any possibility of such kind of "Backup"?
Regards,
AbuBakar
|
|
|
|
|
Hello,
I am developing a project in c#, I am going to show data in a datagrid, I have some child records under some of main records I want to show child records under + sign navigation against specific record, I am using Dataset, I don't know how to do it? please tell me if anybody knows, It will be really great for u................
Thanks and Best Regards,
AbuBakar Malik
|
|
|
|
|
Have a look at the Relations property of DataSet. It has several add methods where you can specifiy which column of a child table matches which other column of a parent table. Once this is done and you have bound your DataSet to a DataGrid the navigation will work 'automagically'.
|
|
|
|
|
Where can I get the msde2000 merge modules, I want to use them to include in my application installer??
He who laughs last is a bit on the slow side
|
|
|
|
|
They are availabe in the SQL Server's CDs. Where i dont know. But you can find them because their extension is .msm(I guess so).
Regards,
Wasif Ehsan.
|
|
|
|
|
Are there any specific files that I must get, how does it actually work?
I downloaded the complete flatform SDK to get Orca, tried to install but it only opens the command window for a spilt second and that's it, any ideas?
I downloaded the fullSDK.exe and all 17 cab files, apparently the exe is suppose to expand all the cab files but that doesn't happen.
He who laughs last is a bit on the slow side
|
|
|
|
|
How do I get all the printers currently installed on the computer??
Thanx in advance
He who laughs last is a bit on the slow side
|
|
|
|
|
Add reference System.Management and then use this code:
using System;
using System.Management;
namespace MyNamespace
{
class PrinterOffline
{
[STAThread]
static void Main(string[] args)
{
ManagementScope scope = new ManagementScope(@"\root\cimv2");
scope.Connect();
ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_Printer");
foreach (ManagementObject printer in searcher.Get())
Console.WriteLine(printer["Name"]);
}
}
}
|
|
|
|
|
Hi,
How can i find the path of an applicaton in C# given only its name.
Regards,
Wasif Ehsan.
|
|
|
|
|
string applicationName = "Firefox";
Process[] processes = Process.GetProcessesByName(applicationName);
foreach(Process process in processes)
{
FileInfo fileInfo = new FileInfo(process.MainModule.FileName);
Console.WriteLine(fileInfo.DirectoryName);
}
|
|
|
|
|
Hi,
I have set SQL Express as the pre-requisite for my C# application. Now i have a few questions regarding this:
1. During installation,normally, it does not ask for any option e.g. Installation drive, Authentication mode, or any other option. How can i make SQL Express to ask this from the user when it is being installed as pre-requisite of my C# application. At least how can i specify these things? Is there any way i can specify a Templates.ini file in this process.
Regards,
Wasif Ehsan.
|
|
|
|
|
You pass those details to the commandline of the SQL Express installer.
|
|
|
|
|
Can anyone help me about how to change the height and width of a video inside the wmp activex component?
Im using c#...
i found a property which helps but its a read-only variable; the code goes like this:
wmp.currentMedia.imageSourceHeight = 500;
i just need to change the video size, not the control but only the size of the video inside the control.
Thank You
Souhail J Jabbour
Software Developer
Activemania.com
|
|
|
|
|
Are there any possibilities to change font size in MessageBox ?
I want to make it bigger.
|
|
|
|
|
Here[^] what u want.
regards,
Divyang Mithaiwala
System Engineer & Software Developer
|
|
|
|
|
hi guys!
need some help.
i m deploying a .net application using the .net setup project and also using the installer class to add some custom actions every thing is running fine..
but i want to rollback the setup if a condition does not matches.. for which i m using the
base.rollback(isavedstate) method but it gives an exception
that "savedstate might be corrupted" and then rollback the setup from the catch block..
i m searching for it from a long time but couldnt figured it out. can any one tell me what i m missing..
i wrote the code some what like this:
protected override void OnBeforeInstall(IDictionary savedState)
{
base.OnBeforeInstall (savedState);
try
{
if(DialogResult.No==(MessageBox.Show("This Setup Will restart your Internet Infromation Service Mannager(IIS). Do you want to Continue ? ","Alert",MessageBoxButtons.YesNo,MessageBoxIcon.Hand)))
{
base.Rollback(savedState);
return;
}
}
catch(InstallException iex)
{this.Rollback(savedState);
}
catch(Exception ex)
{this.Rollback(savedState);
}
}
but it gets rollback in the catch block gining the error.
abhinav
abhinav
|
|
|
|
|
Dear friends,
I've a simple winform application with one form. My application loads MS-Word, and makes MS-Word window as a child window of my form.
When i type something in MS-Word window, its parent window (i.e my main form) becomes inactive and its title bar turns grey. It is so, because though MS Word window is a child window of my form, but it runs in a separate process.
Now the problem is that i want to make my main form window Active at a certain time. It only becomes active when i click on it. However, i want to do it programatically. I am calling Form.Activate() for this purpose, but it only causes my taskbar button to be flashed for few seconds. I want to completely activate my main window and having input focus. How can i do so? I also tried Form.BringToFront() and Win32 API SetWindowPos but nothing worked for me.
MSDN says about Form.Activate() as follows:
Activating a form brings it to the front if this is the active application, or it flashes the window caption if this is not the active application.
Obviously, my application is not an active application when focus is inside the MS-Word Window.
Imtiaz
|
|
|
|
|
I too am facing the same dillemma. Curious to know of the answer
|
|
|
|
|
Hi everyone
I have a valid HTMLImgClass element that I retrieved from the web browser component. I need some help converting this element into a Bitmap object. There are no obvious methods in the HTMLImgClass that I could see for converting a Bitmap. Someone during my google suggested using the local path to the file via localhost and loading it that way.
I am looking for any suggestions.
Thanks for your time.
Dave
test
|
|
|
|
|
Doesn't that element contain a path to an image and the browser downloads and renders it ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
The element has an href with the path to the object. In the case Im dealing with it's an object that gets dynamically created on a server. Anyway I got it..
Here it is for anyone ever interested
string href = imgageElement.href;
WebRequest webrq = WebRequest.Create(href);
Bitmap bmp = (Bitmap)Bitmap.FromStream(webrq.GetResponse().GetResponseStream());
Dave
test
|
|
|
|
|
I can't use this way.
The object InternetExplorer.Aplication maintain open your session.
If you use webrequest, this open other session and can't get image of the session of internetexplorer.application.
Saludos,
Luis Alfredo Lozada Portal
Microsoft DCE3
Trujillo - Perú
|
|
|
|
|
I have the same problem that I want to access the graphics of the element already loaded into the page. Alternatively, I just want to get the number of bytes that compose the picture. Is there really no way to access the bytes binary image of the element loaded within the System.Windows.Forms.WebBrowser control?
I understand the solution with getting the address of the image and WebRequest-ing it, but this picture address does return a different picture each time. Yes, I might avoid the problem by loading the picture again but I would not be able to push it to the element, so I would have a different picture on the screen and in my program.
Is there any way to access it from the browser cache?
Thanks.
|
|
|
|
|
Hi, you can access from the cache using
tempDir = Environment.GetFolderPath(Environment.SpecialFolder.InternetCache).ToString();
and simply getting the file from there.
Since it seems to have been some months since you asked this did you find any way to get the image directly from the browser because i am trying to do something similar but the file isnt saved in the cache for me and i cant just make a new request to the src because it returns a different image.
|
|
|
|
|
hi
i have a database in sqlserver2000 and i want to convert it to access 2003 . how to do ??
thanks ..
|
|
|
|