|
Hi,
I don't know if it's the right forum but it seems to me the most appropriate.
I have an application developed in C# (VS 2005) that work fine on Windows XP.
The application used the TFTP.exe installed on Windows.
now I moved to Vista and discovered that TFTP.exe is not installed by default and some configuration are required.
My question is:
Is it possible to detect (when application setup is running) that the TFTP.exe is not installed and to install it during the setup of my application (to avoid the user to do this manually)?
If yes, how can I do that?
Regards,
Lune
|
|
|
|
|
lune12 wrote: Is it possible to detect (when application setup is running) that the TFTP.exe is not installed and to install it during the setup of my application (to avoid the user to do this manually)?
You could prolly check whether the executable exists. Are you thinking of distributing the TFTP.exe with your application?
If it's part of Vista, wouldn't the user need his original installation CD, in order to add the extra features?
I are troll
|
|
|
|
|
|
Seems that it's a part of Windows itself. Windows XP would require the user to have his/her installation-media at hand - because your changing the configuration of the Windows-installation. I don't know if Vista has the same requirement.
In short; it's not a setting (it's not comparable to the screen-resolution setting) but a feature that may or may not be installed.
I are troll
|
|
|
|
|
I am developing a C# application to send SMS using SMPP server and SMPP port that I took before from an sms service provider. I am looking for a API or a dll file. Can anyone help me? It is really important. It must also send sms to multiple recipients.
|
|
|
|
|
|
hi all
i have an xml file as:
<?xml version="1.0" encoding="utf-8" ?>
<Pages>
<Page>
<Name>ManageUser.aspx</Name>
<User>
<ID>Admin</ID>
<ID>WebMaster</ID>
</User>
</Page>
<Page>
<Name>Traders.aspx</Name>
<User>
<ID>Admin</ID>
</User>
</Page>
</Pages>
my query as:
var result = xmlDoc.Descendants("Page").Select(s => new { Name = s.Element("Name").Value, User = s.Element("User").Value }).Distinct().ToList();
and finally result as:
result |Count =2
+[0] {Name="ManageUser.aspx",User="AdminWebMaster"}
+[1] {Name="Traders.aspx",User="Admin"}
My problem is that how i can sub divide "User" into "ID"
like
result |Count =3
+[0] {Name="ManageUser.aspx",User(ID)="Admin"}
+[1] {Name="ManageUser.aspx",User(ID)="WebMaster"}
+[2] {Name="Traders.aspx",User(ID)="Admin"}
actually i want IDs against Pages
thanks
|
|
|
|
|
Try this:
var result = (from page in xmlDoc.Descendants("Page")
from id in page.Descendants("ID")
select new
{
Name = page.Element("Name").Value,
ID = id.Value
}).Distinct().ToList();
|
|
|
|
|
I have a problem, I have created app in Visual Studio 2008 in XP windows, with framework 3.5 but when I launch it on Windows Vista it dosent start. I get the Application Recovery screen. On XP is no problem, everything works.
|
|
|
|
|
Does your Vista machine contains .Net FW 3.5?
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Yes, that is why I am so confused. Dont know what to do.
|
|
|
|
|
Do you get any useful message?
Does it work if you right click and select 'Run as administrator'?
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Oo need to check that thx
|
|
|
|
|
If it does work then you may need to create a manifest[^] file for your application. Do a search for 'C# vista manifest' for more information.
It's not always needed for every application, I think it is dependent on what the application actually does as to if you need one or not. Not 100% thou
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
HELLO.......
I want to split a byte[].....
Suggest me with code sample...
Thanx
|
|
|
|
|
gauravems wrote: I want to split a byte[].....
It's an array of bytes - I'm not sure how you could split it any further.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
i have a byte[]of image and i want to break them in multiple parts so that i can store them in to blocks of smart card which have usually less memory(1k).
suggest me some c# code
|
|
|
|
|
gauravems wrote: i have a byte[]of image and i want to break them in multiple parts so that i can store them in to blocks of smart card which have usually less memory(1k).
Array.Copy(sourceArray, sourceStartIndex, destinationArray, destinationIndex, length)
|
|
|
|
|
Dear All,
How to open ms excel file in C#. And How to read and Write the data in the Xl Sheet.
Please kindly needful.Thanks in advance
With Regards
Mahesh
|
|
|
|
|
Common sense.[^]
If at first you don't succeed, you're not Chuck Norris.
|
|
|
|
|
Hi All,
I am re-posting this question with some more detail.
In my windows application I am using 'Zedgraph' dll for displaying graph. In my code I am not using multithreading anywhere. On some of the systems (Windows XP) it shows unhandled exception 'System.InvalidOperationException' (object is currently in use elsewhere). And the instead of graph it just shows RED CROSS.
At client side network, if the user is an Administrator then the application runs fine. But if the user is not an Administrator then after few seconds above error is being observed. That means non-admin user can view the graph only for few seconds during starting of the application.
Any idea...
I have googled about this issue but I found that it may be due to Multithreading and I am not using it anywhere.
Any suggestion would be helpful...
Regards,
-SIFAR.
|
|
|
|
|
Check the event viewer for any permission errors as you mentioned the administrators doesnt have any issues in viewing the graph...
Hariharan.T
|
|
|
|
|
Thanks Hariharan,
But a non-admin user can view the graph for few seconds when the application starts. After that the 'Red Cross' appears...
Regards,
-SIFAR.
|
|
|
|
|
we often create a winform manually(project-->add-->winform),the created winform is template, then we create an instance of this winform with "new" word. Now I want to know how to create a new winform with code and have not template winform of this new winform(that is no need create a template winform by manually first).
|
|
|
|
|
Form form = new Form();
form.Show();
...
|
|
|
|