- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 4
- Downvotes Received
- 13
- Posts with Downvotes
- 13
- Downvoting Members
- 4
173 Posted Topics
Try this code for converting number into words [CODE] Public Function NumberToString(ByVal num_str As String) As String ', Optional ByVal use_us_group_names As Boolean = True ' Get the appropiate group names. Dim groups() As String 'If use_us_group_names Then ' groups = New String() {"", "thousand", "million", "billion", "trillion", "quadrillion", "quintillion", …
Hi guys , Is their is any comparision between sealed class and abstract class. When to use sealed and abstract class.
Hi all, i used the code posted by Teme64 but i got error like Disk or Network error. How i can solve this.
Hi Guys, I am using access (.mdb) database in my windows application. When i am inserting values to db it gives me an error "syntax error in insert into statement" but it will work in SQL and access query analyzer. here is my code [CODE] string StrInsertToServer1 = "insert into …
I am opening mathtype.exe from richtextbox and type some mathtype equation editor after closing mathtype editor the data which i type must be displayed in richtextbox. I am tried this using sendkeys.send but it seems to be not working properly. Suppose mathtype equation in richtextbox you can open it by …
Hi, I am new in asp.net. i have an task to read xml file from server folder and insert these values to sqlserver 2005 database. how i can do this. thanks in advance.......
Hi guys, How to unzip folder in c# programatically. Thanks in advance.
Hi Guys, I have an xml file contains the imagedata attribute. now while reading xml file using dataset i was setting this field to string and insert it to another table that have also image field. when i am tring to retrive this image it's not a actual image. <ImageData>/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2NjIpLCBkZWZhdWx0IHF1YWxpdHkK</ImageData> …
Try this, [CODE] Conn.Open() Dim str_query As String = "select * from tableName where Field=" & Combo1.Text &" cmd = New SqlCommand(str_query, Conn) dr = cmd.ExecuteReader Combo2.Items.Clear() Do While dr.Read() Combo2.Items.Add(dr.Item("Fieldname")) Loop dr.Close() Conn.Close() [/CODE]
Hi guys, I have save file in rtf from Richtextbox (okay it saves). But when i open this file manually it's asking me to save changes but i am not changed or edit anything. why this happens ? Is SaveFile() doesn't save file properly.
Hi guys i have generated PDF file from docx(.rtf also) You need to install bullzip printer and word. Prerequsities - you have to add reference Bullzip.PdfWriter. here is code snippest internal static byte[] PrintToPdf(string appFolder, string tempDocxFileName) { try { string tempFolder = appFolder + @"\temp"; string tempDocxFilePath = tempFolder …
Hi, I am new in asp.net. I have created an user control containig 3 dropdownlist (date/month/year) now how to get the value of the user control in aspx page. Thanks in advance.
Hi guys, How to display vertical scrollbar in listview. In listview their are 3 columns also i have set ListView.View = View.Details; but vertical scrollbar doesn't appear. Any idea Thanks in advance.
Hello guys, I am trying to insert watermark as text in word 2007 using c# but getting error can u pls help me out. here is my code... //THE LOGO IS ASSIGNED TO A SHAPE OBJECT SO THAT WE CAN USE ALL THE //SHAPE FORMATTING OPTIONS PRESENT FOR THE SHAPE …
Hi Try this... Hope it will help you
Hi guys, how to get textbox leave event in wpf. I want select next textbox when one textbox leave focus. How to use lostfocus event?
Hi guys... I am developing an windows application in c# with sql server as back end with windows authentication i want username and password for sequrity purpose can i set username and password without changing it to server authentication. Thanks in advance.
You are creating Installer1.cs (Installer class) or simple class file. for creating control
Check the condition at the start as if(this.txtFcs_exams.Text!="") { //your code goes here }
As Momerath said use [CODE]da.InsertCommand = new SqlCommand("Insert into Osoba values(@Osoba ID,@Ime, @Prezim,@Adresa,@Telefon,@Mob1,@Mob2,@Mob3) ",con);[/CODE] Hope it will helps
Hi Guys, I have develope windows application in c#. I want make it more attractive in looking is their is any skinner or themes available (Third party tools) free or paid in .net. waiting for pleasant reply.
Hi guys, How to sort hashtable keys in ascending order. I have 5 keys 1,2,3,4,5 and respective values are 10,7,8,6,9,5. but when i am displaying records it shows like this..... foreach (DictionaryEntry entry in srque) { MessageBox.Show("Key === " +entry.Key); MessageBox.Show("Value ===" +entry.Value); } the output i am getting like …
You can try like this also.....converting lable value to int int answer1 = 0; answer1 = (Convert.ToInt32(textboxnumber1.text) / 100) * Convert.ToInt32 (label1.text) + Convert.ToInt32(textboxnumber2.text) + Convert.ToInt32(textboxnumber3.text) + Convert.ToInt32(textboxnumber4.text); total1.Text = answer1.ToString(); Hope this will help.
Hi guys can we update data (Edit) in view table in sql server? If Yes How ,if No Why? Thanks in advance......
If you still want textbox then better way to go with maskedTextBox and setmask to shortdate.
Hi Guys, I have created windows application project in framework 3.5, vs2008 with Access database when i changed target platform to x64 it will give me an error like 'The microsoft.jet.oledb.4.0 provider is not registered on the local machine'. How to solve this thread Thanks in advance.
This encryption is at very basic level, best advice don't use it u can find more encryption Try [URL="www.mediafire.com/?odnfyqmgymg"]this[/URL] . Actually this is in c# but you can easily converted to vb.net by online code converter. Hope this will help you
Hi Guys, I am developing an windows application which is downloading file from webserver using FTP, my question is can i download file using HTTP. can anybody help me with some source. I am downloading a xml file. Thanks in advance.
Hi Guys, How to use bigin trance, commit and rollback in c#, suppose i have inserted values in two tables while inserting i am getting error in table 2 but table 1 has inserted values successfully so in catch how i can rollback changes.....after successful insertion i want to commit …
Hi Guys, Can you have any idea about randomly shuffle the questions in database without affecting questions id. Let i will explain little bit more ...... read carefully 1) I have a table containing 5 questions like this que_id que 1 abc 2 bcd 3 efg 4 hij 5 klm …
Hi guys, i used the query for randomly selecting questions from access but it will give me same result, i try it by passing different different values also passing time in rnd fuction but i will display same result. [CODE] DataSet ds = new DataSet(); string strsel = "select * …
Hi guys, I am trouble to find out the solution can anybody help me, I am developing an windows application in 2.0 framework in vs2005 and making exe but on some operating system (Windows7 service pack1 64 bit Home premium, windows xp service pack 3) it throws an error while …
Hi guys, I am inserting value from xml file to access database the file is near about 6 MB (size not problem) but the file contains mathematics questions containing images(jpeg,bmp),equations(math type) so while inserting some questions it will give an error "Query Is Too Complex " can anybody tell me …
Hi guys, Can anybody help to figure out the problem. In my C# application project with access database when fetching the records from db it will give me error "Unspecified error". Thanks in advance...
How to read pdf file in c# windows application..... Thanks in advance
Is your database field is datetime or varchar
Hi, How to show dropdownlist first item blank . can i set the index property to -1 instead of 0.
Hi, In my page their is one combobox and one listbox. When i select an item in combobox then selected item added to listbox. Combobox has ispostback property to true. Now my question is, how to check item is already present in listbox on combobox selected item changed event. Thanks …
Hi all, Can anybody help me...How to create insert store procedure in access db with c# windows application.
Need to initialize button each time like [CODE]Button btnAdd=new Button();[/CODE] and set location correctly seem to be new point can't be changed.
Try this connection string [CODE]SqlConnection("Data Source=localhost\\SQLEXPRESS;Initial Catalog=DBNAME;Integrated Security=True;Connect Timeout=100;pooling=true; ;User ID=;Password=;Trusted_Connection=Yes"); [/CODE]
Can u explain little bit more it's hard to understand
Hi Guys, I am developing an windows application but their is problem when package is installed on client machine mainly for vista and windows 7, i am set the screen resolution to 1024 X 768 but in windows 7 and vista if magnifying tool is large then forms get display …
Hi guys, I am creating a project in vs2008 framework3.5 now is it possible to convert it into vs2005 framework2.0 any help will be appreciable.... Thanks in advance.
Try this, [CODE] Form3 frm = new Form3(); frm.MdiParent = this; this.ActivateMdiChild(frm); frm.Show(); [/CODE] Hope this will help you
Try this, dateTimePicker1.Format = Custom dateTimePicker1.ShowUpDown = True dateTimePicker1.Customformat = h
Rather than using textbox you should go for Richtextbox control... Load the file in Richtextbox using loadfile() and SaveFile() to save file
As pritishdeshmuk mentioned , just add the condition [CODE] if (j <= 10) { for (int j1 = j; j1 < 20; j1++) { cks[j].Enabled = false; } } [/CODE] Hope this will help you
As you said you work on 1380*700 resolution then try to set resolution programatically set resolution on start form and after exit application back to its normal resolution [URL="http://www.codeproject.com/KB/cs/csdynamicscrres.aspx"]Click Here[/URL] Cheers
The End.
bhagawatshinde