|
I have seen this in this page>
it takes mobile and convert it to image and save it as file.
http://divar.ir/new/[^]
|
|
|
|
|
What has converting the image got to do with the GUID's you linked earlier?
Google translate refuses to translate the site. Can you explain me in simple terms what you're trying to achieve?
Giving a bunch of random numbers and asking for a conversion, will never work. The numbers could represent anything. Now, converting a mobile webpage, a pdf, or a document to an image, that's something we could help with.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
|
I have a one string in this format : abc 10 20 20 12 efg 10 20 20 13 prl 10 20 20 12 tyr 10 20 20 30 trop 10 10 20 20.
how can i split into new line as a
abc 10 20 20 12
efg 10 20 20 13
prl 10 20 20 12
tyr 10 20 20 30
trop 10 10 20 20
|
|
|
|
|
Use a regex:
[a-zA-Z]+(\s*\d+\s*)+
Should do it.
You looking for sympathy?
You'll find it in the dictionary, between sympathomimetic and sympatric
(Page 1788, if it helps)
|
|
|
|
|
If you need to split the alphabetic parts from the numeric parts, I'd recommend: (?'key'[a-zA-Z]+)(?'val'[0-9 ]+)
|
|
|
|
|
Hi All,
I develop a Windows form application and in the form KeyDown event
I use F8 key to do something, my problem is in any laptop contains the fn key
and F8 not work until you press the fn key, if any one click f8 only the event does not work.
Please let me know is it possible to make f8 and fn+f8 be the same functionality and how to do that in c#.
Thank You.
|
|
|
|
|
See which key is generated if you press "F8", and replace that key with it.
I'd recommend against it though. Your keyboard would suddenly work differently in your app, than compared to each and every app out there. It'd be more confusing than actually helping.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
in the BIOS you can probably swap the primary function of the fn key. i think it is called something like "action keys mode".
|
|
|
|
|
Good idea. I did that with my laptop - don't see the point in having a computer with the function keys 'disabled'.
Regards,
Rob Philpott.
|
|
|
|
|
I am looking to develop a mobile money transfer application like Vodafone. I have some doubt here,
1. In mobile money transfer how we develop the short message code like in Vodafone we dial *400# to see the menu. So, how to develop this application or this is develop by telecom company itself.
2. If i develop the application in MVC then how should i configure my application with telecom company to get real time data of users who are registered their mobile for money transfer.
3. How to integrate my mobile money application with telecom service provider and with banks.
Can you tell me the basic things that are must and the flow of it. The basic idea to develop the application.
Basically I can develop the application but main thing is that how to integrate the bank, mobile service provider, the short message service response that user send to its service provider means how to retrieve the data from service provider.
|
|
|
|
|
Never, ever, accept code from a insecure website to handle anything to do with real money.
You do not know who is giving you the code, you do not know what it does, you do not know that it places the monies correctly into the appropriate account, without passing the details to any third parties.
Only get such code from reputable banks and / or card transaction service companies - the scope for fraud otherwise is far too large. And remember, you personally could be liable for any monies lost if your action is seen to be negligent - which getting your code from a public forum would most certainly be!
You looking for sympathy?
You'll find it in the dictionary, between sympathomimetic and sympatric
(Page 1788, if it helps)
|
|
|
|
|
I've stripped my problem down to the bare minimum. I've got a form that, in response to user action, needs to display the OpenFileDialog dialog. When this form is started "normally" i.e. using Application.Run, the dialog appears. When this form is started via reflection it fails. Fails in this case means that the code successfully runs all the way to the actual OpenFileDialog.ShowDialog call -- ShowDialog is stepped into but the dialog never appears and the call never returns.
Here's the code:
The direct app:
using UiLibrary;
namespace DirectApp
{
static class Program
{
[STAThread]
static void Main ()
{
Application.EnableVisualStyles ();
Application.SetCompatibleTextRenderingDefault (false);
Application.Run (new Form1 ());
} } }
The indirect app:
namespace IndirectApp
{
public partial class DummyFormToLaunchTheRealUI
{
public DummyFormToLaunchTheRealUI () { InitializeComponent (); }
private void button1_Click (object sender, EventArgs e)
{
Assembly abs = Assembly.LoadFile (@"C:\temp\tester\UiLibrary\bin\debug\UiLibrary.dll");
Type startType = abs.GetType ("UiLibrary.Startup", true);
object startLib = startType.InvokeMember ("", BindingFlags.CreateInstance, null, null, new object[0]);
startType.InvokeMember ("Run", BindingFlags.InvokeMethod, null, startLib, new object[0]);
} } }
The library:
namespace UiLibrary
{
public class Startup
{
public void Run ()
{
Thread runThread = new Thread (new ThreadStart (ActualWork));
runThread.Start ();
}
private void ActualWork ()
{
Form1 f = new Form1 ();
f.ShowDialog ();
}
}
public partial class Form1 : Form
{
public Form1 () { InitializeComponent (); }
private void button1_click (object sender, EventArgs e)
{
OpenFileDialog ofd = new OpenFileDialog ();
ofd.InitialDirectory = Environment.ExpandEnvironmentVariables (@"%USERPROFILE%\Downloads");
ofd.ShowDialog (this);
} } }
I've got to show Form1 from the library in its own thread since I want IndirectApp to remain responsive to UI. This is stripped down - in my real code Form1 is much more complex, successfully launching its own forms and doing other stuff regardless of which method is use to fire it up.
Visual Studio 2012 using .NET 3.5 on Windows 7 SP1
Any ideas on what's particular to the OpenFileDialog class? This is the only one of the common dialogs that is used.
Thanks all!
Judy
Be wary of strong drink. It can make you shoot at tax collectors - and miss.
Lazarus Long, "Time Enough For Love" by Robert A. Heinlein
|
|
|
|
|
I suspect your background thread needs to be an STA thread. Try changing your Startup.Run method:
public void Run()
{
Thread runThread = new Thread(ActualWork);
runThread.ApartmentState = ApartmentState.STA;
runThread.Start();
}
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
And the prize goes to Richard!!! That fixed the issue. Must be something that the common file dialogs need that your plain old ordinary user-created form doesn't.
THANKS!!!
Judy
Be wary of strong drink. It can make you shoot at tax collectors - and miss.
Lazarus Long, "Time Enough For Love" by Robert A. Heinlein
|
|
|
|
|
Good catch.
/ravi
|
|
|
|
|
In logfile the below error is coming:
failed with exception System.TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception. ---> Oracle.DataAccess.Client.OracleException: The provider is not compatible with the version of Oracle client
How to solve this problem?????Please help..
|
|
|
|
|
Member 10996178 wrote: The provider is not compatible with the version of Oracle client This message tells you what is wrong; there is some incompatibility between your database library and your code. It is quite possibly a 32 vs 64 bit issue.
|
|
|
|
|
There are various causes of this problem but most likely your Oracle Client is not a supported version. Google for the exception message and you come up with all kinds of suggestions.
|
|
|
|
|
how we can find the product key of all installed software in c# window or console application
|
|
|
|
|
Probably you can't: some software at least hashed the key and and stores that - and hashes are not reversable.
But...This starts to smell a lot like malicious code, so:
We do not condone, support or assist in the production of malicious code in any way, form or manner. This is a professional site for professional developers.
If you want to know how to do such things, you need to visit a hacking site: but be sure to disable all firewalls and antivirus products first or they won't trust you enough to tell you.
You looking for sympathy?
You'll find it in the dictionary, between sympathomimetic and sympatric
(Page 1788, if it helps)
|
|
|
|
|
You should have a look at this link
ht
a>[^]
You will find a property which could be useful for you
IdentifyingNumberData type: string
Access type: Read-only
Product identification such as a serial number on software, or a die number on a hardware chip.
You will find the correct link with a search about Win32_Product class in the MSDN library
But I know that everybody is not prepared to use WMI
See for the installed applications :
It could be easy to find your information for the Microsoft products as Microsoft has defined the way of install its products. But it could be more difficult for other company.
|
|
|
|
|
Select Article_id, Article_Title, Case Article_Home_Display when 'Y' then 'Yes' Else 'No' End Article_Home_Display, Article_Type, Case Dflag when 'A' then 'Active' Else 'Not Active' End Status from Articles where co_id=" & companydetails.iCoId & " Order By Article_id Desc
I Need Linq query for the above sql query.
Thanks in advance.
Have A Nice Day!
Murali.M
Blog
|
|
|
|
|
|