- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 6
- Posts with Downvotes
- 6
- Downvoting Members
- 5
67 Posted Topics
I have to insert a image file into sqlserver 2005 in asp.net with c sharp. please provide me with the detailed code
i want to convert HTML page into asp.net , i tried changing the extension and saving it as .aspx . It worked but most of the options didnt work apart from images like submenus, links and other things so i want to know how to fully convert an html page …
I am trying to browse an image and i will search for the images with the same name in the folder called IMAGES . If it exists i just replace it when i run my project using Visual Studio its working fine and image is perfectly getting replaced when i …
Frankly speaking 100's of programmers read the problems and not 5 percent of them give suggestions or answers Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005. when website published not while running through VS 2005 I am trying to export data …
this is in windows project i have one form which has a progress bar from that i am calling a class file which has decrypting function in it while it performs decryption of a file i want to show the progress of decryption in my form now how do i …
i have a checkbox inside a datagrid when i select few checkboxes in 1st page and when i move to 2nd page the checked status of 1st checkboxes disappear(they become false) one more doubt if i want to make a checkbox true which is in 3rd page how to do …
i created a new folder and took this path and published from windows application to this folder I got three files Project folder Project application manifest setup.exe When i ran setup.exe file i got my winodws application running , but the thing was it didnt got installed on to the …
ex : while asp web project is running , i have an option for the user , if the user presses F8 key in index page he will be redirected to login page In the same way while vb application is running i should be able to capture the key …
I wil be selecting the image to resize using open file dialog box , That image has to be resized to very small size and then it should be converted to byte array and stored in the database converting to byte array and storing is working Image resizing and storing …
I am fetching the url of internet explorer browser ex: [url]http://google.com/accounts/service=orkut[/url]............................. for orkut.com website but for every page visited inside the orkut website urls keep changing So i was wondering is there any through which a website can be identified uniquely like ip address, or any text scanning or any …
is it possible to develop a c program which gets the shell windows and fetches the address bar or internet explorer url or a unique id specific to a website . solution solutin solution PLEASE
ex : Set ie1 = CreateObject("InternetExplorer.Application") ie.Navigate "http://www.gmail.com" the above code opens the gmail.com page but the url will be something like [url]http://www.google.com/accounts/[/url]......... I want to get the url , whats the code for it and how to get ip address of an website Please HELP
I want the code to close all mozilla firefox windows I have tried doing it using findwindow function and linkbutton with no success Please provide me the solution
<asp:Image ID="imgpdet" runat="server" Height = 350" Width="350"/> I want to assign the height and width of the image which is the same of the original image from database . Actual problem is i have an horizontal and vertical photos , if i give height matching the horizontal photo the vertical …
[CODE] public void EncryptFile(string input, string output,RijndaelManaged alg1) { FileStream inputStream = new FileStream(input, FileMode.Open, FileAccess.Read); FileStream outputStream = new FileStream(output, FileMode.OpenOrCreate, FileAccess.Write); SymmetricAlgorithm alg = new RijndaelManaged(); alg.Key = alg1.Key; alg.IV = alg1.IV; byte[] data = new byte[inputStream.Length]; inputStream.Read(data, 0, (int)data.Length); alg.Padding = PaddingMode.PKCS7; ICryptoTransform encryptor = alg.CreateEncryptor(); CryptoStream …
1) I want to Close all mozilla firefox windows running , for that to happen as i know there is two ways a) to use link label b) findwindow Link Label finds the mozilla browser but with the found browser i can get the url of the browser but i …
[CODE] Set fso = New FileSystemObject If fso.GetFileName(txtPath + sname) = True Then Kill txtPath + sname MsgBox "File Deleted" End If [/CODE] txtpath is the path to C:\Documents and Settings\All Users\Start Menu\Programs\Startup where in startup i have an shortcut file fso.getfilename doesnt find the shortcut file . I want …
First thing i should be able to access the contents of the aspx webpage ex : [url]http://abcd.com/homepage.aspx[/url] In that web page i should be able to display the name localuser . I heard that using vb6 we can access the HTML contents of a page If yes, then i should …
For ex: i have an aaa.exe running in windows startup and visible in windows startup, What i want is to make aaa.exe invisible or make aaa.exe replaced by null characters .
For example i have an vb.exe file by name abcd.exe , what i want my vb code to do is to rename the abcd.exe to abcd.dll .
byte array size is 977kb when i try to store into ms access database its getting stored without error making the ms access database size 140kb(i know it uses different format to store so lesser kb) But when i try retrieving the same code from ms access database and when …
[CODE] // writing to access database byte[] buff = null; FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read); BinaryReader br = new BinaryReader(fs); long numBytes = fs.Length; buff = br.ReadBytes((int)numBytes); mycon.Open(); OleDbCommand cmd = new OleDbCommand("INSERT INTO song VALUES('1','" + buff + "')", mycon); cmd.ExecuteNonQuery(); // reading from access database OleDbCommand …
i have access file by name song.mdb which has field by name file where i am storing mp3 file in binary format . when i tried to read the field into ret byte array i am able to read only first 25 bytes . Why am i not getting the …
In my combo box i have kannada words like karnataka kerala mandya mysore kannada something like this , On key press event of combo box if ka (kannada alphabet is pressed) it should list the karnataka or whichever matches the word how to do this
what my problem is i have entered few keywords for my website but when i try searching for my website by entering the keywords specifed in the metatag, google doesnt display my website at all so does metatag keywords alone is enough or not if enough then ,if i give …
I got an excellent code for putting registry entry of my visual basic project in windows start up . Now my project runs automatically when windows starts, but the problem is i am unable to delete the registry entry fully at all. I mean to say in my vb project …
if an mp3 file is added to usb drive , it should be playable and it should not be copy able to the disk .
Is there a way to make a pen drive/usb drive read only , i mean to say u should not be able to copy its contents to any system or delete its contents or modify its contents, U SHOULD ONLY BE ABLE TO READ ITS CONTENTS Provide the means to …
dim hwnd as long I am using FindWindow function to find whether Internet Explorer is open or not . hwnd = FindWindow(vbnullstring,"Google - Microsoft Internet Explorer") the problem is it easily find most of the windows , but in few cases for example if i type something in google search …
My project is Internet Explorer Blocker which blocks all websites apart from what i have mentioned . Its working fine, now as the user should not be able to close the vb application For that to happen the application should not be visible . So for the what is the …
not allowing to surf anything in mozilla , so i want to close mozilla if somebody tries to open it. I have to do this by coding it in visual basic.
what i have done is i have allowed assume abc.com , apart from this if u enter any website in IE , the IE will get closed. For this to happen i have used Timer control and in timer control i am checking the IE toolbar contents . I am …
1) how to check whether Internet explorer window is open or not using visual basic code 2) how to get the url of a Internet Explorer window. actually i got some code which works fine in getting url the problem is it will not get the url of the child …
Hi I am looking for an internet explorer project which blocks all the websites and in turn direct or opens a single website which i specify. Ex: in the code of the project if i give a website name abc.com whichever website u open in IE it may be google.com, …
I have crystal report viewer in my website. I have uploaded the website. Now the problem is Crystal report viewer shows the Desired output but the export ,print and all other buttons are not visible and also when i click export button, page just refreshes(i am not getting Export Report …
why crystal report displays empty fields with no data . Why dynamic binding is not happening . here in my case Cat_id cat_Name is displayed no values under it is displayed code: protected void Page_Load(object sender, EventArgs e) { SqlConnection con = oclsdbcon.Getconnection(); con.Open(); DataSet1 ds = new DataSet1(); string …
Hi i have DataSet1.xsd item , i want to fill this DataSet1.xsd with the dataset ds which is developed in default.aspx.cs page. Later i want to bind the crystal report viewer with this dataset. Please specify url or tutorial links which have worked for u . Hoping to get some …
[code=c#] I created a new crystalreport1.rpt , and also created a new DataSet1.xsd . For the crystalrepor1.rpt i have the given DataSet1.xsd as datasource . Now in the default.aspx i want to create a dataset of my requirement and assign that to dataset1.xsd and bind this to crystalreportviewer control which …
[code=c#]public partial class Prod : System.Web.UI.Page { }[/code] Here i have another class file called clsdbconnection which has connection string function called getconnectiondb(). To use that getconnectiondb() function i need to use the class in the present class prod. How to use the class, I tried all these ways but …
I am using Reportviewer control which has mappath to crystal report file . Its working fine with one problem the thing is its displaying details in such a way that few fields at the end cannot be seen on the screen. If i make the display size 75% i am …
assume My website name is mobileseach.com When i enter the mobilesearch.com in google , it does not give my website name in the search list. So for that to happen some one suggested to use keywords specific to my website like mobile search or something like that . How to …
[CODE] [language =c#] System.Net.Mail.MailMessage myMail = new System.Net.Mail.MailMessage(); myMail.To.Add("someemailid.com"); myMail.From = new MailAddress("[email protected]", "someemailid ", System.Text.Encoding.UTF8); myMail.Subject = "user Information"; myMail.SubjectEncoding = System.Text.Encoding.UTF8; SmtpClient client = new SmtpClient(); client.Host = "localhost"; client.Port = 25; client.Send(myMail); [/CODE] The above code i have used in asp.net page Its showing client.Send(myMail) failed ////////////////// …
I want to give keywords related to my project in web config file so that searching my website in google should become easy. Please specify the code
[ICODE] private void btnplay_Click(object sender, EventArgs e) { objConn.Open(); string str1 = "select s from Table1"; OleDbCommand objComm = new OleDbCommand(str1, objConn); OleDbDataReader dr = objComm.ExecuteReader(); dr.Read(); Byte[] bindata = (byte[])dr.GetValue(0); FileStream fs1 = new FileStream("C:\\dummy\\Buffer.mp3", FileMode.Create, FileAccess.ReadWrite); BinaryWriter bw = new BinaryWriter(fs1); int filelength = bindata.Length; bw.Write(bindata); fs1.Write(bindata, 0,filelength); …
I am having a form where in user enters their details and at the end i am displaying an image and verification code ( which is 6 digit number and i am generating this by using rand function ) The only thing for which i need solution is i want …
I am retrieving the byte contents from the database I am creating a new file using [CODE] Byte[] bindata = (byte[])dr.GetValue(0); FileStream fs1 = new FileStream("C:buffer.txt", FileMode.Create, FileAccess.ReadWrite); BinaryWriter bw = new BinaryWriter(fs1); [/CODE] Please tell me what to do next to store the binddata byte[] into buffer.txt
code to upload and save an image into access database in windows application visual studio. Please give the detailed code I know how to do this in web application but i have never used windows application
Hi i want to store an image into MS Access database . I want the image to get converted to byte before getting stored in MS access database. Please provide me the relevant c sharp code for that
In an ASP.net Application (windows or web) can i write code to store the song into MS Access database . Please Help
reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/; what is the use of / operator and ^ what does + used for why \ please explain in depth Thank u
The End.
coollife