Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
K

Kumaran21cen

@Kumaran21cen
About
Posts
59
Topics
51
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Group header is not printing on everypage if subreport continues to next page.
    K Kumaran21cen

    Hi Everybody, I have an issue in the SQL Server Reporting Services I created InvoiceReport.rdl In the Page header displays Title, Page Footer displays Page Number In the Body section, I created a Table, The structure is 1) Table Header 2) Group header Row1 3) Detail Section Row1 [SubReport1] Row2 [SubReport2] The problem is, if the subreport print more than a page then Group Header is not repeating in every page other-wise it is printing I also tried to check only ONE, either (1) Row Headers – “Repeat header rows on each page” OR (2) Column Headers – “Repeat header columns on each page”, Iam waiting for yours valuable respose.

    Thanks & Regards Kumaran

    Database help database sql-server sysadmin

  • How to check Component(ocx) is already registerd or not? VB6
    K Kumaran21cen

    Hi all, I want to know, how to check Component(ocx) is already registered or not. I tried in Google but i didn't get any correct result. Eg: Using Shell in VB6, executing regsvr32 "COMPONENTNAME.ocx". I have written this code in the load event of the form. It will execute every time when i launch this form. I want to check, if the Componet.ocx is already registred then leave it. otherwise registered it.

    Thanks & Regards Kumaran

    Visual Basic linux tutorial question

  • MessageString method is not giving action Width [modified]
    K Kumaran21cen

    Hi all, I using MessageString method to calculate the string width. It is not giving the proper String Width. Eg: Font = "Arial 8.25"; Font.Style = Regular; string1 = "1234567890123456789012345678901234567890123456789012345678901" If you place this string to the label/TextBox. The actual width is 368px. But when i use graphics.MeasureString method it gives 387.9978. Is there any other method is available to calculate the string / what's the problem in this method. Some article says, Sometimes MeasureString method will give improper values. Is it true? Please tell me if anybody knows... Thanks.

    Thanks & Regards Kumaran

    modified on Monday, July 20, 2009 11:37 PM

    ASP.NET graphics help question

  • How to Escape from Security Software
    K Kumaran21cen

    Hi All, Recently, i developed a Product in VB6. It is related to Banking... For some security softwares considering this a malicious software. In this software, there are two main files 1) Autorun.exe 2) IDBankingB.exe Autorun.exe ----------- 1. It will copy the related files(DLL) to "System32" directory and registering the DLLs 2. Call the Main exe (IDBankingB.exe), and terminate(Autorun.exe) by itself. IDBankingB.exe -------------- Actual functionality of banking. Is there any implementation change requires in "Autorun.exe"? If there is no need to change the implementation, then how to escape from security software... Please help me if anybody knows... Thanks

    Thanks & Regards Kumaran

    Visual Basic security help tutorial question

  • How to resume or pause the FTPWebRequest in C#.NET
    K Kumaran21cen

    Hi All, Iam using FTPWebRequest for downloading the files... Here, the function is working good. but while downloading the file, if the internet connection goes down, then this program going to throws the exception and end the process. So, in this scenario i want to pause/resume downloading... How to acheive this... If anybody knows help me... thanks Here my sample code ------------------- public void Download(string fileName) { //Desc: To download the file from the ftp server FtpWebRequest reqFTP; try { //fileName = <<Name of the file to be createdNeed not name on FTP server. name name()>> FileStream outputStream = new FileStream(downloadPath + "\\" + fileName, FileMode.Create); reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri("ftp://" + ftpServerIP + ftpPath + "/" + fileName)); reqFTP.Method = WebRequestMethods.Ftp.DownloadFile; reqFTP.UseBinary = true; reqFTP.Credentials = new NetworkCredential(ftpUserID, ftpPassword); FtpWebResponse response = (FtpWebResponse)reqFTP.GetResponse(); Stream ftpStream = response.GetResponseStream(); long cl = response.ContentLength; int bufferSize = 2048; int readCount; byte[] buffer = new byte[bufferSize]; readCount = ftpStream.Read(buffer, 0, bufferSize); while (readCount > 0) { outputStream.Write(buffer, 0, readCount); readCount = ftpStream.Read(buffer, 0, bufferSize); } reqFTP.Abort(); ftpStream.Close(); outputStream.Close(); response.Close(); } catch (Exception ex) { Utils.Write(ex.Message); } }

    Thanks & Regards Kumaran

    C# csharp sysadmin help tutorial career

  • Get Cache from Website
    K Kumaran21cen

    Hi all, Assume there are 2 projects in same server. Eg: "Project1" , "Project2" and "Web Service". Project1 is having some cache. Eg: cache1, cache2; Project2 is having some cache. Eg: cache3, cache4; I need to get the values of cache from Project1 using Web Service. is it possible? Please tell me if anybody knows.

    Thanks & Regards Kumaran

    ASP.NET sysadmin question

  • How to get file size from website
    K Kumaran21cen

    Hi all, I need to get file size using C#.net. eg. If i give url it should return the file size. url = http://www.google.co.in/images/logo_plain.png[^] If anybody knows, please help me

    Thanks & Regards Kumaran

    Visual Basic csharp help tutorial

  • [Message Deleted]
    K Kumaran21cen

    [Message Deleted]

    Visual Basic

  • Get Files list from Remote server in a Directory
    K Kumaran21cen

    Hi all I need to get list of files in the remote directory in C#.NET, its a windows based application. eg: http://192.168.1.65/project1/directory/ URL = http://192.168.1.65/project1/directory I tried in System.IO.Directory.GetFiles(URL), but it throws an error "URI format is not supported" please tell me if anybody knows

    Thanks & Regards Kumaran

    C# csharp sysadmin help

  • OWC10 component Pie Chart Values Overlapping
    K Kumaran21cen

    Hi All, Iam using OWC10 component for creating PIE Chart. While creating Pie chart, values are overlapping. Is it possible to specify the values with line kind of thing? Thanks.

    Thanks & Regards Kumaran

    ASP.NET question

  • Calling Web Service using VB6 without SOAP
    K Kumaran21cen

    Iam using HTTP to call web service without SOAP. It gives Error: 500" Please anyone tell whats the error. Actually its status is not 200. Is there any other method to call webservice using vb6 without SOAP? Here is my code below: Public Function Run_WebService(ByRef InForm As Form, ByVal CaseNo As Integer) As Boolean On Error GoTo Catch Dim IsOk As Boolean Dim StrResults As String Dim ObjXMLHTTP As Object Dim ObjXMLDOM As Object Const WebSite As String = "http://localhost/MyService/MyWebService.asmx/" Dim iPos As Long, jPos As Long Dim MakeParameters As String IsOk = False Set ObjXMLHTTP = CreateObject("Microsoft.XMLHTTP") Set ObjXMLDOM = CreateObject("Microsoft.XMLDOM") Select Case CaseNo Case 1 With ObjXMLHTTP .Open "GET", WebSite & "MyProduct?ID=5" , False ', "sa", "password" .Send DoEvents If .Status = 200 Then 'is ok 'Load the XML document from the webservice ObjXMLDOM.loadXML .ResponseText 'check if there are any errors If ObjXMLDOM.parseError.ErrorCode <> 0 Then MsgBox .ResponseText IsOk = False Else 'Get the results StrResults = ObjXMLDOM.GetElementsByTagName("string").Item(0).Text 'iPos = InStr(1, StrResults, "<code>", vbTextCompare) 'iPos = iPos + Len("<code>") 'jPos = InStr(1, StrResults, "</code>", vbTextCompare) 'If Val(jPos) = 0 Then ' StrResults = "Invalid Country." 'Else ' StrResults = Mid$(StrResults, iPos, jPos - iPos) 'End If 'InForm.txtResults(0).Text = StrResults IsOk = True End If Else MsgBox "ERROR - " & .Status, vbCritical, "ERROR" IsOk = False End If End With End Select ExitFunction: Set ObjXMLHTTP = Nothing Set ObjXMLDOM = Nothing StrResults = vbNullString Run_WebService

    Visual Basic xml wcf help question

  • WMI Information
    K Kumaran21cen

    Hi All, I want to get USB PNPDeviceID from WMI or API using VB6 code. I have a code using .NET, but i need vb6 code.

    Thanks & Regards Kumaran

    Visual Basic csharp json

  • Window Handle
    K Kumaran21cen

    Hi All, I have Process ID(PID). Consider, Iam opening Word Document(a1.doc), It has a PID called 2010. Then, when i open another file (b1.doc) using the same window again, it shows same pid for both. How can i get differentiate both the files using the PID?.

    Thanks & Regards Kumaran

    Visual Basic question

  • Open applicaiton
    K Kumaran21cen

    Thanks Christian Graus. but i need in vb6

    Thanks & Regards Kumaran

    Visual Basic linux json

  • Open applicaiton
    K Kumaran21cen

    Hi All, Iam using ShellExecute API function to execute the file. File may be any type. I want to get the Process ID(PID) of the particular file which i executed. I already tried Shell command, but it isn't work.

    Thanks & Regards Kumaran

    Visual Basic linux json

  • Open Encrypted File
    K Kumaran21cen

    Hi All, I have encrypted file, Consider encrypted file is jpeg. Actually what iam doing is, loading the encrypted file on memory and decrypting on-the-fly then iam getting the file content as a byte array. How to assign the byte array value to appripriate file type to open.

    Thanks & Regards Kumaran

    Visual Basic data-structures performance tutorial

  • Encrypted Video
    K Kumaran21cen

    Hi, I have encrypted the "WMV" video files. Is there any way to decrypt the Video files on-the-fly without storing on disk and play it in media player. while decrypting i have a data as a BYTE[]. is it possible to assign the byte[] to player.

    Thanks & Regards Kumaran

    Visual Basic

  • Encryption Video
    K Kumaran21cen

    Hi All, I have a .wmv files, I have encrypted the files(wmv). Now, it won't play in any players. I want decrypt the video file without saving into Disk and to play the video files(wmv).

    Thanks & Regards Kumaran

    Visual Basic security

  • Lock Folder ActiveX Component
    K Kumaran21cen

    Hi Everybody, I want to give the lock & copy protection facility to my product in the USB drive. Is there any ActiveX component to give locking facility and copy protection for my folders inside the USB?. Because if it is available, then i can use the ActiveX control and access the files inside the folder using my program. Thanks

    Thanks & Regards Kumaran

    Visual Basic com question

  • Lock Folder
    K Kumaran21cen

    I have an application called "MEDGIDS". In that the main EXE file accessing the folder called "images". I want to lock the "images" folder for the external view(It shouldn't show the files inside the folder). Assume the "images" folder is locked then how can i access the folder from my main EXE file. I need to lock the "images" folder, and if i locked then how to access the "images" folder from main EXE.

    Thanks & Regards Kumaran

    Visual Basic tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups