Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I had been searching the Web for a while, trying to find a solution. But all that I found about Ad integration is for mobile apps and I cannot find a solution for Windows application.
My question is - Is there a way to make a popup Ad in Winforms application, and of course receive some money from (clicking or viewing or whatever, I don't know how this is actually works) on it?
For now I have written (I actually downloaded it) a method that shows a Taskbar Notification like Skype, and I loop it in BackgroundWorker with a delay of 2 min and then i have no idea what to do next. How to attach Ad to that notification? What and how it is supposed to be attached to my Paypal account in order to receive money from clicking, viewing.
I will be very grateful if you guys would help me to understand all aspects. PS. I am surprised,there is nothing on the Web regarding information on how to integrate Ad in Winforms application. Weird, it could be very handy.
Well there are many ways that you can put ads in a Windows Form, but someone must provide you the ads that you will get money from.
Get an affiliate account at some trustful website make a html file with the ads inside and uploaded it some server.
Then in Windows Forms make a new Form with a web browser inside of it, point the browser to the uploaded html file and you can use different kind of events even Task Scheduler to initiate the small app or code that will show the form with the ads.
I would recommend Gooogle AdSense but first read their Terms and make sure you follow them or they will terminate your account.
I just saw that this post is 3 months old but I already wrote the answer so...
Goodluck if you haven't found an answer by now.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
If I open a Notepad and read a barcode from barcode scanner device and keep the focus on notepad it writes the Barcode on Notepad window. I just want the same output in my C# program, for that I have created a textbox and keep the focus on my textbox and the output is what I wanted. Now if the case is I dont have a textbox how should assign same string to some of my variable. I have done the research but got a lot of libraries which are reading it from images or some dlls for it. I am sure there is some easy way out for this.
Thanks for the help in advance
Set the forms KeyPreview event to true. Then wire up a handler for the Form KeyUp event and handle the keystrokes there. The data the scanner sends just looks like you pressing the keyboard to Windows so it will pass on the events to your application.
One of my coworkers recently worked with a barcode scanner (a Motorola) and I helped him on that project.
Unfortunately, every barcode scanner has a different implementation for reading barcodes (although the general mechanics are usually similar). You will have to download the SDK for your barcode scanner device. Check the website of the manufacturer on how to install it.
Generally, you'll have to add a reference to their DLL, then put a handler on their OnRead event (or whatever they call it). that usually has a special object as an event argument, that contains the data the reader sends.
I know I'm really vague here, but there's not much I can say without knowing the exact brand and model of the scanner. You'll have to do some research yourself on this matter.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I have a windows forms program which saves properties like its size, location, splitter bar locations &c in a properties file in hte usual way. I've noticed that whenever I close the application by right clicking on its taskbar icon and choosing 'close window', these properties don't save correctly and my application then either won't start or starts with size 0 or something.
Of course I can catch these problems and hack around them, but I would like to know what is different between closing via the form and via the taskbar, so I can handle the appropiate events.
As the first commenter to recommend the use of Form.Closed, I'm demanding my ransom money! :-)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I just got a project in which i need to create a windows explorer type application. I need to include various folders , Folders/Documents inside folders. And whatever folder/Document you select from left side, result will be shown in the right side panel.
As i am new to this all i don't know what to do and how to do. I have searched many sites but din't get any proper solution. So finally i am asking my question here. Please can you suggest how do i perform this using ASP.net with C#.
P.S. The application which is currently shown in image is a windows based application. And is developed in DevExpress.
There is no definitive answer to this, and I don't pretend to give one.
Keep in mind that making a clone of Windows Explorer is a daunting task. Instead the objective should be to create an application that anybody familiar with Windows Explorer can pick and use. Although, you need to start at the desired output, and see what is it you really need from this application - because not every feature will be viable.
Are you trying to make a virtual file manager? that looks like Windows Explorer? Then look for izwebfilemanager and look no futher. They have dedicate a good amount of time on that task.
Note: their online demo is long down - but get an screenshot:
If that is not what you are looking for, instead you want that appearance but provide a completely different functionality then, I think the real problem lies in the UI... you got to build it HTML + CSS + JavaScript.
Let's look at is that tree/list view at that left... I did look for some implementations...
This one in particular looks promising: BlueShoes TreeView
for something closer to our dear .NET you can try DevExpress Tree List (yet I think it is paid)
and also check 10 Javascript & CSS TreeView and Sitemap Plugins and Tutorials for a other alternatives.
I have been unable to find an already made solution for the icons area of the right, yet I am sure it can be done.
You will have to break down "Windows Explorer look and feel" to more specific requirements, I suggest to make a minimal version as an experiment to see what user actually would be doing with your app. Do you need multiple selection? Do you need drag and drop? etc...
I’ve got a few questions which i hope you can help me with in regards to using SkyDrive with a wp8 app.
Does the live sdk support mvvm pattern? I’ve tried implementing standard code to login in my viewmodel, but it keeps throwing me a strange error i.e. Filenotfound for presentation library. When i implemented on a view it works. Any idea?
I know my internet speed is slow (poor connection from where i am on holidays!!), but should i really display a progress bar of some sort?
My sign in button is in my settings page but I’m not sure where should i auto-login from as I’ve got a splash screen page that loads up first but based on options selected in my settings, the next page loading could be any of the 3 available and I’m not sure where i should implement this if it doesn’t support mvvm. Should i duplicate the code in all 3 pages? Then what, assuming i do and i auto-login to my skydrive, the data i want to upload is done from another page, what do i do for that? The idea is that i want login so i don’t have to do it when it’s time to upload the data.
Any help clarifying these questions would be greatly appreciated.
Thanks.
T
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How can I make my own shell for windows 7?
That will run in fullscreen mode and act something like windows media center.
What I want to achieve is a kind of application menu. After OS starts, shell will boot so the user can choose and run apps from the shell. When they are closed, user returns back to shell.
I've found no information on how to implement custom shells. Does anyone know where should I start with it?
I understand that it may require some c/c++ code, but i'd like to code in c#, wpf mostly.
Full screen application will probably enough for you.
To truly replace shell you need to change setting like HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell. Please search and read about making changes to this key... you still may be able to use task manager to bring regular explorer back if you change the value incorrectly.