Topics
-
- 1 reply
- 1.7k views
Hi, I am using AdWords for advertising my products. But in a last couple of months number of products have doubled so I don't have enough time to optimize AdWords campaigns for all of them. Some campaigns have thousands of keywords so I am looking a way to automate my AdWords campaigns. I know about AdWords API and client libraries. I have been investigating them for some time and they are not so easy to use. I want to focus more on optimizing my AdWords campaigns, and not on communication with AdWords server. Does anyone know about some C#/VB.NET library that would allow me to download my AdWords data, investigate it, modify it and then upload modifications back…
Last reply by filip, -
- 1 reply
- 1.3k views
Im not sure if this is the place to post this but I need some help with transferring text from a comboBox, a text box and a Radiobutton selection to another form. I have attached a link to my assignment http://www.4shared.com/file/176152077/d21b1f4a/Assignment_2_153.html This is urgent Thank you in advance
Last reply by EFileTahi-A, -
- 0 replies
- 700 views
Hi all, I am beginner to .NET i want to develop an application which will get the details of the printer connected on my network and i also want to know who all are used the printer and how many pages they have printed etc., here my problem is where to start which way i can achieve this Thank you pravalika
Last reply by Pravalika, -
-
- *Experts*
- 13 replies
- 6.2k views
I'm trying cause a javascript confirmation box to pop up when a user clicks the 'update' button in my editable data field. I searched through the other posts on the topic, but I'm still having problems. One method I've seen suggested is to use FindControl("btnName") in the ItemDataBound event and then use Attributes.Add.etc. my update button is in an EditCommandColumn and I see no way to name it. Is it possible to name the button so that I can use FindControl("...")? The other method I read about was to use e.Item.Cells[x].Controls[1] instead of FindControl. I tried this, but it gives me an out of range error for Cells[x]. (if i use Cells[7], i get the cell …
Last reply by roshan_lk, -
-
- 0 replies
- 2.2k views
Hi Friends, ToolTips for Windows Forms ComboBox When Cursor is moving Around the items of combo box(Items are not selected, just cursor is moved) i am having a problem. I need an event to be raised when mouse hovers over Combo Box so that I could provide ToolTip for Items of dropDownArea of ComboBox. I want tool tip when the mouse is moved in between the items of the drop down list, not when the item is selected. how to do this ??? how to get index of comboBoxItem pointed by cursor ? Thanks,
Last reply by syago01, -
-
- Administrators
- Leaders
- 3 replies
- 855 views
Hello forum :) I am happy I'm here, and there are lot of programmers who love .NET. :p Well, this is my code to read a file: Dim f As System.IO.File 'Reference to file object Dim fs As System.IO.FileStream 'Reference to Filestream object fs = f.Open(Filename.Text, IO.FileMode.Open, IO.FileAccess.Read) ' Allocate a byte array accoording to file length Dim b(fs.Length - 1) As Byte ' Read the entire file fs.Read(b, 0, fs.Length) ' Cleanup file+Stream f = Nothing fs.Close() Do you guys think this is a correct way to do this? Is there a better and easier way to do the same in VB.NET? While I am reading some tutorials on .NET language and file operations but I needed …
Last reply by snarfblam, -
-
- 1 reply
- 1.4k views
Specifically - I am trying to send a .DOC file to a FAX using C#.NET Office Automation (COM Microsoft Word 11.0 Object Library), so far I have the following: Word.ApplicationClass wordApp = null; private bool SendFax() { object missingValue = Type.Missing; object myTrue = true; object oFaxFile = sFaxFile; wordApp = new Word.ApplicationClass(); Word.Document doc = wordApp.Documents.Open(ref oFaxFile, ref missingValue, ref missingValue, ref missingValue, ref missingValue, ref missingValue, ref missingValue, ref missingValue, ref missingValue, ref missingValue, ref missingValue, ref missingValue, ref missingValue, ref missingValue, ref missingValue, ref missin…
Last reply by WaddellG, -
- 0 replies
- 3k views
Hiiiiiiiiii i m using a list view with a column having checbox in it. Now problem is if i check dat column and press the clear button it remains checked i want it to be unchecked.Kindly suggest me the appropriate solution
Last reply by YasirSiddique, -
-
- Administrators
- 4 replies
- 1.7k views
How can I open a web page and then get the handle of the window it's opened in? I've tried the following as a start, but, although the web page opens OK, k is always Nothing. Dim k As System.Diagnostics.Process = Process.Start("http://www.google.com")
Last reply by rbulph, -
-
- 1 reply
- 1.2k views
[PLAIN][Resolved]Binary Reader. Resource Object.[/PLAIN] I have an embedded .config resource file "IncidentTrackerDockTemplate.config" in my Resource File called "GlobalResource". I would like to read this file using BinaryReader. i get an exception in my code. Value cannot be null. Parameter name: input below is the code. Any one knows where the problem is? [color=Blue]private[/color] System.Resources.[color=ff2b91af]ResourceManager[/color] resources = [color=Blue]new[/color] System.Resources.[color=ff2b91af]ResourceManager[/color]([color=red]"Incidents_Tracker.UI.GlobalResource"[/color], System.Reflection.[color=ff2b91af]Assembly[/color].GetExecutingAssembly(…
Last reply by skea, -
-
- Leaders
- 2 replies
- 1.5k views
Hi everybody. I was wondering if any one had encoutered the need to create a custom .net attribute that acts like ObsoleteAttribute ? So lets suppose that this attribut is coded and is called MySpecialAttribute and lets say that its targeted for Methods only. What I need is that at the moment the coder will declare a sush attribute and while he is in IDE mode (visual studio only or other compiliant IDE) a special job is done with possible forced compiling error ? Example : <MySpecialAttribute()> _ Public Sub MyMethodToBeControled(ByVal Param1 As Object) ... End Sub In this case I want to check that arguments of the Sub MyMethodToBeControled meet some…
Last reply by docflied, -
-
-
- Administrators
- 6 replies
- 4.2k views
Hello Xtreme - my first post: please be kind. My application has a read-only datagridview dgvFound fed from a datatable dtFound. This datagridview is permanently displayed whilst the application is running. dtFound is declared public in a module (and exists whilst the application is running). dtFound is fed from any one of around thirty different "finders" that are grouped in three user controls - these finders run sprocs on MSSQL2005 and clear/refill dtFound. Everything works perfectly with dgvFound refreshing nicely in the main form when one of the finders raises a dtFoundIsReady event... ... until the user clicks the header of dgvFound to sort. After the s…
Last reply by chris1028, -
-
- 1 reply
- 1.3k views
Hi there, i have this function that creates for me random colors. I would like it to skip the red color because i use it for something else. Any one knows how? private int MakeRandomColor() { Random rand = new Random(DateTime.Now.Millisecond); return Convert.ToInt32(ColorTranslator.ToOle(Color.FromArgb(rand.Next(256), rand.Next(256), rand.Next(256)))); }
Last reply by skea, -
-
- Leaders
- 1 reply
- 690 views
Re: exam scheduling system did u have any solution for this problem ??? (Split from exam scheduling system)
Last reply by snarfblam, -
-
- 6 replies
- 9.8k views
hi, my dedicated server has a backup server which i can copy files to using these steps: i have to open up IE and type in this url: ftp://myuser@mybackupserver.com/ it then prompts me for the password which i enter, then i can simply drag the files into that window and it copies them over however, i would like to write a .net program to copy some files over automatically and then schedule it to run nightly can someone point me in the right direction for trying to code the above procedure. how do you specify the ftp site as the destination, how do you specify the user/pass etc. thanks!
Last reply by booriaxy73, -
-
- Administrators
- 7 replies
- 3k views
Hi everybody :) I wanna create a folder in My Documents, named "My Information" for example! And customize its ICON by placing a "Desktop.ini" file into that. So I wrote this code which works perfect, but I don't know why it does not show the ICON as expected :( 'Create Directory If Not My.Computer.FileSystem.DirectoryExists(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\My Information") Then System.IO.Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\My Information") End If 'Create File Dim FileContent As String = "[.ShellClassInfo]" + vbNewLine + "IconFile=%ProgramFiles%\Company\Product\Program.…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- Leaders
- 7 replies
- 1k views
hi.. can someone teach me the code for doing the ff on C# : :confused::confused: 1.) a program that asks a number from a user and generate a figure below using For Loop statement Examples: http://i74.photobucket.com/albums/i249/wapak00/Forloop.jpg 2.) a program that asks a number from a user and generate a figure below using For Loop statement Examples: Number: 5 5 5 5 5 5 4 4 4 4 4 3 3 3 3 3 2 2 2 2 2 1 1 1 1 1 Number: 4 4 4 4 4 3 3 3 3 2 2 2 2 1 1 1 1 thanks in advance.. i really hope you guys could help me.. :p
Last reply by PlausiblyDamp, -
-
-
- Administrators
- Leaders
- 10 replies
- 2.8k views
Hello people, nice forum and nice contents. I am new to .net and hope to get some help in order to do this : Saying we havec a ClassA within a method called DoWorkWhenPropertyGetterIsCalled. A ClassB inherits form ClassA and define lets say two properties ProBA binded to a private mA field and PropB binded to a private mB field. What's the best way (if exists) to ensure calling DoWorkWhenPropertyGetterIsCalled each time objCallB.PropX is called? Another ClassC subclass of ClassA also may define ProPA to PropZ and I need the method to be called automatically each time a property getter is defined. Well hope I was clear enough... Thank u all in advance for ur …
Last reply by docflied, -
-
MouseDown eat my double click.
by Guest andylo-
- *Gurus*
- Leaders
- 5 replies
- 4.7k views
Hi all, I have listView A and B. I tend to do drag and drop items from A to B by using following events (MouseDown in A, DragEnter into B, DragDrop in B) They works all fine and lovely Arr... in fact, these 2 listView are file list view. Then I want to add a property page for the items in the listView (For example, file size, created date...) in listView A, I add a context menu as well as a double click event in ListView A so a user can view the selected files property either by rightclick the context menu or double click the file name. The the property menu/doubleclcik doesn't work 99% of the time, finally I discover that the MouseDown "EATEN" the all the le…
Last reply by gyorgy89, -
-
- 0 replies
- 3k views
I'm trying to pull some data from a Microsoft Word XML Document, but the code I have generates sloppy output (see streamLog.txt). I am trying to write each row of tab delimited data on its own line, but I never appends a carriage return. My code consists of 2 methods: readDocument and getXmlTables. The readDocument routine works - it is just to show you how I open the file (if anyone needs it). The problem comes from getXmlTables not putting rows on separate lines: private void readDocument() { XmlDocument myXMLDocument = new XmlDocument("myDoc.xml"); const string wordDocXml = "/word/document.xml"; string pkgNs = myXMLDocument.DocumentElement.Attributes["xmln…
Last reply by joe_pool_is,
-
Who's Online 0 Members, 0 Anonymous, 9 Guests (See full list)
- There are no registered users currently online