16,019,614 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Usha Muhunthan (Top 44 by date)
Usha Muhunthan
13-Nov-13 0:29am
View
Deleted
If i know the answer if there is option to display without downloading images then i would have done,
Thanks
Usha Muhunthan
8-Nov-13 23:32pm
View
thank you thatraja :) here i converted the code and tested. It copies files without content when i try to open copied file it shows file is corrupted or invalid or empty :(
Usha Muhunthan
8-Nov-13 8:40am
View
Thanks a lot thatraja. The same thing i asked thank you. I too read the file as text using StreamReader and then convert back to binary.
the thing is I couldn't convert the code to VB.net code :-(
Usha Muhunthan
31-Oct-13 7:58am
View
I am using framework 2.0, I need to do the task in 2.0 only
Usha Muhunthan
25-Oct-13 7:50am
View
I found how long command takes to execute, and i made it to wait until gets completed
Usha Muhunthan
22-Oct-13 9:30am
View
Deleted
Why do you genius give this answer (Go on, map your drive, have a chronometer in hand and measure yourself the time it takes.) if any 1 ask question.
Any how thanks a lot for your great insult and commands mr.phil.o
Usha Muhunthan
22-Oct-13 9:10am
View
There is no link to try
Then how to map drive without the content
Usha Muhunthan
21-Oct-13 0:45am
View
I copy a file from system to system under single LAN. For that first I map the drive from a system to my system, mapped system's shared folder created as my local drive in my system. Then I copy a file from my drive to mapped drive, Finally I disconnect the mapped drive.
My problem is when i hit a break point it copies files else it does not
my code is
<pre>
Shell("cmd /c net use Z: " + ServerIP + " /user:" + ServerUserName + " " + ServerPwd) 'to map drive
Shell("cmd /c xcopy " + filepath + " Z:\CloneFiles", AppWinStyle.NormalFocus, True) 'to copy
Shell("cmd /c Net use Z: /Delete") ' to disconnect mapped drive
</pre>
I dont know what is the problem with my code
Usha Muhunthan
17-Oct-13 8:16am
View
I completed :-)
Solution is :
Only 2 things to be noted
1.
Dim safeFilenames() As String = Directory.GetFiles("D:\CloneThumbnails", "*.Png", SearchOption.TopDirectoryOnly)
For i As Integer = 0 To safeFilenames(i).Length- 1
ImageList1.Images.Add(25, Image.FromFile(safeFilenames(i)))
Dim filename As String = System.IO.Path.GetFileName(safeFilenames(i))
ListView1.Items.Add(i.ToString, filename, ImageList1.Images.Count - 1)
Next
second one is:
ListView's LargeImageList must be the ImageList (Select ImageList1 to LargeImageList in properties)
we can change the display image size from ImageList1's Property
Usha Muhunthan
16-Oct-13 0:58am
View
I used below code but it displays file name,
fd.Title = "Open File Dialog"
fd.InitialDirectory = "C:\"
fd.Filter = "Zip files (*.Png)|*.Png"
fd.FilterIndex = 2
fd.RestoreDirectory = True
If fd.ShowDialog() = DialogResult.OK Then
If System.IO.File.Exists(fd.FileName) Then
Dim newImageKey As String = "10"
ImageList1.Images.Add(newImageKey, Image.FromFile(fd.FileName))
ListView1.Items.Add("1", fd.FileName, newImageKey)
End If
Else
Exit Sub
End If
I need to display image
Usha Muhunthan
16-Oct-13 0:45am
View
yes i completed the same in wpf . But i couldnt do the same in windows application .NET 2.0
Usha Muhunthan
16-Oct-13 0:45am
View
I am working with windows application 2.0
Usha Muhunthan
9-Oct-13 1:48am
View
I used the below code
qry = ""
qry = "SELECT Image FROM T_ImageStore"
Dim adp As New OleDbDataAdapter
adp.SelectCommand = New OleDbCommand(qry, conn)
Dim ds As New DataSet()
adp.Fill(ds, "BLOBTest")
Dim c As Integer = ds.Tables("BLOBTest").Rows.Count
Dim bytBLOBData() As Byte = _
dt.Rows(c - 1)("Image")
PictureBox1.Image = convertbyteArrayToImage(bytBLOBData)
Private Function convertbyteArrayToImage(ByVal byteArrayIn As Byte()) As Image
Dim ms As MemoryStream = New MemoryStream(byteArrayIn)
Dim returnImage As Image = Image.FromStream(ms)
Return returnImage
End Function
i get error:
An unhandled exception of type 'System.ArgumentException' occurred in System.Drawing.dll
Additional information: Parameter is not valid
Can u help in this
Usha Muhunthan
9-Oct-13 1:20am
View
I found the exact command and completed :)
Usha Muhunthan
9-Oct-13 1:19am
View
Sorry, u dont have answer right?
Usha Muhunthan
9-Oct-13 1:17am
View
I have saved image by converting to Binary data, There is no path saved in DB
Usha Muhunthan
8-Oct-13 6:18am
View
I tried For Each file__1 As String In Directory.GetFiles(Path.GetDirectoryName(sourcePath))
No use
Usha Muhunthan
8-Oct-13 6:13am
View
I referred the 2nd link. I am getting same error Logon failure: unknown user name or bad password.
error en counted in this line
For Each file__1 As String In Directory.GetFiles(sourcePath)
Usha Muhunthan
8-Oct-13 5:28am
View
i get error "Logon failure: unknown user name or bad password."
pls help me in this
Usha Muhunthan
5-Oct-13 8:34am
View
Thank u :-D .. Also i referred the below link already
Usha Muhunthan
21-Jun-13 1:50am
View
I checked If cmd.ExecuteNonQuery()=true is correct one
Usha Muhunthan
17-Jun-13 2:01am
View
Thank u Madhav Hatwalne.
If cmd.ExecuteNonQuery()=true Then
IS this one Correct
Usha Muhunthan
21-May-13 8:10am
View
I am sorry Sasi, I dont understand how can i use it without installing
Usha Muhunthan
21-May-13 0:35am
View
I need it to work across the internet. yes i used UltraVNC i could connect local network but couldn't connect over internet. is there any suggestion to use alternate.
Usha Muhunthan
14-May-13 7:25am
View
Deleted
Check for namespace related to InteropServices.
System.Runtime.InteropServices
Usha Muhunthan
14-May-13 7:23am
View
Deleted
Check for namespace related to InteropServices.
System.Runtime.InteropServices
Usha Muhunthan
14-May-13 7:17am
View
I downloded and installed the same from the site which you have given,
Usha Muhunthan
14-May-13 6:16am
View
mysqlprov is not registered on the local machine
Usha Muhunthan
14-May-13 6:09am
View
My connection string is to connect MySQL from client system is
Provider=MySQLProv;Driver={MySQL ODBC 5.0.9 Driver};Server=IPAddress;Database=DBName;User=root;Password=adminadmin;Option=3;
but it shows error The 'mysqlprov' is not registered on the local machine
I have installed connector 5.0.9
Usha Muhunthan
14-May-13 6:05am
View
Do i need any other support file to connect when MySQL is not in need
Usha Muhunthan
14-May-13 3:39am
View
Do i need to install mysql in all the client system. If it is, is there any way to access DB without installing mysql in client system
Usha Muhunthan
14-May-13 3:34am
View
Do i need to install mysql in all the client system. If it is, is there any way to access DB without installing mysql in client system
Usha Muhunthan
14-May-13 3:27am
View
mysql Client . i am new to this, i am sorry if there is any mistakes in my questions ..
I have installed mysql in system1 and gratnted permission to all IP client. I need to access Database from System2.
Usha Muhunthan
30-Apr-13 0:37am
View
First store them in a string. Cosider 2 dropdownlist(5'3") names dropdownlist1(for 5) and dropdownlist2 (for 3)
string s = dropdownlist1.Text + " ' " + dropdownlist2.Text;
insert s into table
-------> In update mode just retrieve value from table split it where it find '
string[] height= str.Split(''');
dropdownlist1.Text=height[0].ToString();
dropdownlist2.Text=height[1].ToString();
----------> str is table value
Hope it helps to you, If not reply me
Usha Muhunthan
29-Apr-13 0:19am
View
my table name is M_City only. Now i tried with SELECT ROW_NUMBER() OVER (ORDER BY CITYID) as [SNO],CityID, CityName FROM M_City;
Receiving same error
Usha Muhunthan
26-Apr-13 5:57am
View
receiving Same error
error (missing operator) in query expression 'row_number() over (order by dbo_M_City.CityID)'.
Usha Muhunthan
26-Apr-13 5:56am
View
error (missing operator) in query expression 'row_number() over (order by dbo_M_City.CityID)'.
My query is SELECT row_number() Over (Order by CityID) as [Sno],CityID, CityName
FROM dbo.M_City
Usha Muhunthan
26-Apr-13 3:29am
View
I tried Both the link. the same error happening
Usha Muhunthan
15-Apr-13 1:51am
View
I have employee details on a table i need to retrieve when the date time picker value changes. I have Employee1, Employee2 details in the date 15.04.2013 that is in today's date. I could able to retrieve those 2 employees details wen i change the date between ( from holds) 15th ( To holds) 16th. I need to retrieve datats when i select 15 in those 2 datetimepicker ( from and to date)
Usha Muhunthan
8-Apr-13 8:31am
View
Its shows 5 errors those all about Type not defined
1. System.Management.ManagementObjectSearcher
2. System.Management.ManagementObjectCollection
3. System.Management.ManagementObject
4. System.Management.PropertyData = Nothing
5. System.Management.ManagementObjectSearcher
Sholud i use any Imports or anything else
Usha Muhunthan
8-Apr-13 6:37am
View
All the links return only the computer name Computer1 not WorkGroup Name Computer Tech
Usha Muhunthan
5-Apr-13 7:01am
View
Thank u Rakesh Meel
I am sorry i am new to client server i dont know where to write this coding and can you please tell me what the class.forName(DRIVER) means.If possible explain the coding please
Usha Muhunthan
4-Apr-13 8:55am
View
Oh great thank u . Can i use anyother database like access
Usha Muhunthan
4-Apr-13 8:49am
View
Can't i access the DB by using Remote connection if its not in Server instance
Show More