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
P

priyank_ldce

@priyank_ldce
About
Posts
85
Topics
60
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Word page border.
    P priyank_ldce

    Hi All, I am working on a project that uses interop.word COM object. But I am not able to get width and style of page border of document. Can I know how I'll get these values? Thanks in advance, Priyank

    COM com question

  • Web user control parameter.
    P priyank_ldce

    Hi all, I have made one web user control. Now I know how to pass string parameters in it but I am not able to pass server control as user control parameter. It is like we can pass data source to gridview. Thanks in advance, Priyank

    ASP.NET sysadmin tutorial

  • Mail reminders and alerts.
    P priyank_ldce

    Hi all, I am making one web application using ASP.NET and VB.NET 2.0. I want to make alerts and reminders for this application. User can set reminder for some specific date and they get mail as a reminder on that. Plus one day every week system check for users if they fill one form or not. If not then they will get mail to alert it. Can I know how I can do this? I am using SQL Server 2000 as a database. Thanks in advance, Priyank

    ASP.NET database csharp asp-net sql-server

  • GridView Problem
    P priyank_ldce

    Hi all, I am using GridView in one ASP.NET, VB.NET application. I want to select data using select command of SqlDataSource but I don't want to do other operations like deleting and updating using SqlDataSource. So I am using RowDeleting() and RowUpdating() event handler of GridView. But When I click on Delete link in GridView it goes to event handler, do delete operation using my custom query and then it gives me error like "Deleting is not supported by data source (SqlDataSource1) unless DeleteCommand is specified". Any way to get rid out of this DeleteCommand? Thanks in advance, Priyank

    ASP.NET help csharp asp-net database

  • viewstate of dropdown
    P priyank_ldce

    N a v a n e e t h wrote:

    Are you using a content place holder ?

    Yes I am using content place holder.

    N a v a n e e t h wrote:

    Viewstates will be loaded before page_load fires. Getting viewstate depends on where you are creating dynamic control. If it is in page_load or any other events fired after Init(), it won't be maintained. If ASP.NET want to maintain viewstate for your dynamic control, create it on Init() event.

    I am creating dropdownlist on Page_load event. I want to use value of this dropdownlist for other control in Page_load event.

    ASP.NET question

  • viewstate of dropdown
    P priyank_ldce

    Thanks, But how can I get it? only thing I have is ID of the dropdownlist at that time. Priyank

    ASP.NET question

  • viewstate of dropdown
    P priyank_ldce

    Hi all, I am creating dynamic dropdownlist in my webpage. Now on postback is it possible to get viewstate of this dynamically created dropdownlist in Page_Load methode? Thanks, Priyank

    ASP.NET question

  • Unicode character increment
    P priyank_ldce

    Hi all, As with ascii character we can increment alphabet by increment ascii value of it (Like ch='H' and ch = ch + 1 gives me ch='I'). IS it pobbiel to do the same for Unicode character? I wan to increment Unicode character in VB.NET. Thanks in advance Priyank

    .NET (Core and Framework) csharp question

  • Dynamic controls
    P priyank_ldce

    Hi all, I have to make one web page where user can add dropdownlist dynamically. As many time user clicks on one button it add one dropdownlist control to webpage. Is it possible to do this using ASP.NET without java script? Thanks in advance, Priyank

    ASP.NET csharp java asp-net tools question

  • Webparts
    P priyank_ldce

    Hi all, Our intranet is made in ASP. Now I want to add some new features in intranet. Can I add webparts made in ASP.NET 2005 into out ASP website? If yes how Can I do that? Thanks in advance, Priyank

    ASP.NET question csharp asp-net

  • Point to Inch
    P priyank_ldce

    Thanks

    C# question csharp

  • Point to Inch
    P priyank_ldce

    Hi all, How can I convert point to inch or centimetre in C#? Thanks, Priyank

    C# question csharp

  • Passing parameters to Thread function.
    P priyank_ldce

    Hi, I am making one application in VC++.NET. I want to pass one integer parameter to one thread function. How can I pass parameter to thread functions? My code is as below. Thread function

    public class TestThread
    {
    public:
    static void ThreadProc()
    {
    ...
    }
    };

    Thread function call

    Thread* myThread = new Thread(new ThreadStart(&TestThread::ThreadProc));
    myThread->Start();

    I want to pass one integer parameter in ThreadProc(). Thanks in Advance Priyank Raval

    C / C++ / MFC question csharp c++

  • Network Deployment
    P priyank_ldce

    Hi all, I have made one application in VC++. I want to make installer of that application so that I can deploy it on all client machines from server machine. Can I know any tool to make Installer or any method to make setup like this? Thank in advance, Priyank

    C / C++ / MFC sysadmin c++ question workspace

  • Flash movie in Dialog Box
    P priyank_ldce

    Hi all, I am making one win32 application that includes some Flash movies. I want to embed flash movie into my Dialog Box. I am able to add it in Windows Form using AxShockwaveFlashObjects but it is not working for Win32 dialog box. How ca I add Flash into Dialog box? Thanks in advance, Priyank

    C / C++ / MFC adobe question

  • new to win32
    P priyank_ldce

    Hi all, I am making one pure win32 windows application by selecting “Win32 Project” template in Visual C++ project type 2005 version. This is my first win32 application but I can’t understand how can I add more controls and use it in the main form created by CreateWindow() function. Or can I get some help or place where I can get tutorial about win32 applications. Thanks in advance, Priyank

    C / C++ / MFC c++ help tutorial question announcement

  • ImageDirectoryEntryToDataEx() not working
    P priyank_ldce

    Hi All, I am trying to make tool like PE viewer in VC++.NET 2005. After enumerating process module I am using ImageDirectoryEntryToData() function to get Import section. It is working fine but this function has been superseded by ImageDirectoryEntryToDataEx() function. I am able to get import section using ImageDirectoryEntryToData() but not using ImageDirectoryEntryToDataEx(). It gives me NULL every time. Here is my code for getting Import Section of the process.

    DWORD aProcesses[1024], cbNeeded;
    unsigned int i;
    HMODULE hMods[1024];
    char modName[255];
    PIMAGE_IMPORT_DESCRIPTOR pImportDesc;
    PIMAGE_SECTION_HEADER pImageHeader;
    PSTR pszModName;
    ULONG ulSize;

    if(EnumProcessModules(::GetCurrentProcess(), hMods, sizeof(hMods), &cbNeeded))
    {
    for ( i = 0; i < (cbNeeded / sizeof(HMODULE)); i++ )
    {
    ::GetModuleFileNameA(hMods[i], modName, 255);

    ImageDirectoryEntryToDataEx(hMods[i], TRUE,
    IMAGE_DIRECTORY_ENTRY_IMPORT, &ulSize, &pImageHeader);

    if(pImageHeader)
    

    {
    while (pImageHeader->Name)
    {
    pszModName = (PSTR) pImageHeader->Name;
    pImageHeader++;
    } // while
    }

    /*if(pImportDesc = (PIMAGE_IMPORT_DESCRIPTOR) ImageDirectoryEntryToData(hMods[i], TRUE, IMAGE_DIRECTORY_ENTRY_IMPORT, &ulSize))
    {
    while (pImportDesc->Name)
    {
    pszModName = (PSTR)((PBYTE) hMods[i] + pImportDesc->Name);
    pImportDesc++;
    } // while
    }*/
    }
    }

    Can I know what is the problem with ImageDirectoryEntryToDataEx() function? Thanks, Priyank

    .NET (Core and Framework) question csharp c++ help

  • Runtime error for OpenFileDialog Class in .NET 2005
    P priyank_ldce

    Hi all, I am transferring from .NET 2003 to .NET 2005 now. I have one application made in Visual C++.NET 2003. It is compiling fine in .NET 2005 but it gives one run time error at ShowDialog() function of OpenFileDialog Class object. Error is

    “An unhandled exception of type 'System.Threading.ThreadStateException' occurred in System.Windows.Forms.dll

    Additional information: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. This exception is only raised if a debugger is attached to the process.”

    Can I know what is wrong with this? And how can I solve this problem. Thanks in advance, Priyank

    Managed C++/CLI question c++ help csharp com

  • Runtime error for OpenFileDialog Class in .NET 2005
    P priyank_ldce

    Hi all, I am transferring to .NET 2003 to .NET 2005 now. I have one application made in Visual C++.NET 2003. It is compiling fine in .NET 2005 but it gives one run time error at ShowDialog() function of OpenFileDialog Class object. Error is

    “An unhandled exception of type 'System.Threading.ThreadStateException' occurred in System.Windows.Forms.dll

    Additional information: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. This exception is only raised if a debugger is attached to the process.”

    Can I know what is wrong with this? And how can I solve this problem. Thanks in advance, Priyank

    C / C++ / MFC question c++ help csharp com

  • array of bytes
    P priyank_ldce

    Thanks, It works for

    BYTE myByteArray[]={{0x09}, {0x31}, {0x21}};

    but I want to use the same variable for many time. How can I enter new values after sometime?

    C / C++ / MFC csharp c++ sysadmin data-structures 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