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
S

SIJUTHOMASP

@SIJUTHOMASP
About
Posts
171
Topics
75
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Is there any way to distinguish the request in server is through internet or intranet?
    S SIJUTHOMASP

    Sashidar, I am bit confused now..sorry I cannot pick your solution. Here is my doubt. Client machine send a request to the Server. In server how we can get the client's parent ip. Similarly it would be nice if you can share a code snippet or psuedocode etc. Thanks.

    SoftwareDeveloper(.NET)

    ASP.NET csharp asp-net sysadmin question

  • Is there any way to distinguish the request in server is through internet or intranet?
    S SIJUTHOMASP

    Ok..Suppose if we got the ip. From that how can find out the request came through internet or intranet. Hardcoding ip is not possible unfortunately per requirement. More over the module is a generalized module and will be used in many different applications and clients. if we need to hard code and track the ip for each client it would be little difficult..But that would be the last option..The important thing is not to take another way to reach the destination. It would be nice if we get an information that whether it is possible or not. I mean is there any method can find out the request is from internet or intranet. But if you can confirm that , the way is not possible to find out then we can take the other route. But really curious to know whether it is possible or not in .Net. Thanks.

    SoftwareDeveloper(.NET)

    ASP.NET csharp asp-net sysadmin question

  • Is there any way to distinguish the request in server is through internet or intranet?
    S SIJUTHOMASP

    Hi Sashidhar, Thanks much for your quick reply. Let me please go in to more details of the requirement. You are right we can compare if the LAN access IP is one in the case. In our case we need to deploy the application to many client sites, there again the LAN ip would be different. We have thought about keeping a configuration in the table to identify the known ips and assuming all other requests are from internet..But intead of taking that way , would like to know any easiest or simple way in .Net to identify the request. I mean to distinguish it to LAN or internet. It would be nice to learn that information if we have any options. And If we get a confirmation that there is no direct way then can proceed in the alternate.. Thanks.

    SoftwareDeveloper(.NET)

    ASP.NET csharp asp-net sysadmin question

  • Is there any way to distinguish the request in server is through internet or intranet?
    S SIJUTHOMASP

    Hi All, I have an ASP.Net web application. Users are able to access this application through internet as well as through intranet (LAN). My requirement is like this - The web page should show different welcome messages for Internet user and Intranet (LAN) user. Is there any way to do that in ASP.Net? Thanks in Advance.

    SoftwareDeveloper(.NET)

    ASP.NET csharp asp-net sysadmin question

  • How to change the clsid of an ocx?
    S SIJUTHOMASP

    Checked in the registry and found another folder with different name and same clsid.. using regedit. Thanks..

    SoftwareDeveloper(.NET)

    C / C++ / MFC c++ csharp sysadmin testing tools

  • How to change the clsid of an ocx?
    S SIJUTHOMASP

    HI All, I have one ocx control developed in vc++/mfc and later the same code has been modified to use in automation server..now the problem is we need to keep separate clsid for the ocx control for server to avoid any conflict but its not changing the clsid even after changed in odl file.. Please show the right way to do this. Thanks..

    SoftwareDeveloper(.NET)

    C / C++ / MFC c++ csharp sysadmin testing tools

  • How to deploy a report to the client machine server?
    S SIJUTHOMASP

    Hello, I have created report using visual studio and in sql 2005. .rdl files got created with the report. Usually in development enviroment, its easy to deploy using the UI and specify the target url..But my requirement is to deploy the report to another server where there is no VS or BI of sql server to get the interface.. Is there way to deploy the created report to the server? Really would appreciate any help on this.. I have seen one article that mentioned to move the dbs to the server..my confusion in this case is that , would that remove the existing reports in the target machine.. Thanks in advance.. Rahul.

    SoftwareDeveloper(.NET)

    Database csharp visual-studio database sql-server design

  • Control not coming to the new method after .odl modification? [modified]
    S SIJUTHOMASP

    I have resolved the issue finally with the following changes to the code given.. What I found was the DISP_FUNCTION usage couldn't exactly trace the id of the method..Instead when I used DISP_FUNCTION_ID, it started working..I have noticed that the DISP_FUNCTION_ID call having a parameter option to pass dispid of the method as well..Not sure why the DISP_FUNCTION couldn't work but anyhow my issue got resolved with DISP_FUNCTION_ID.. Similarly in the .h file I have changed 30L to just 30. Rest all are same.. //changed part of the code in testpgm.cpp DISP_FUNCTION_ID(testcontrl, "newmethod",dispidnewmethod, newmethod, VT_BOOL, VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR) //changed part in testpgm.h : public: enum{ dispidnewmethod = 30, .. Thanks,

    SoftwareDeveloper(.NET)

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

  • How to Find files using http url path?
    S SIJUTHOMASP

    Hi David, Hamid, Thanks much for your responses and suggestions..just made logic like the server finds the list of files from the folder and sending the list to the client with a delimeter then the activex use it.. Thanks, Rahul..

    SoftwareDeveloper(.NET)

    C / C++ / MFC csharp sysadmin data-structures tutorial question

  • Control not coming to the new method after .odl modification? [modified]
    S SIJUTHOMASP

    Hi, I had to modify the .odl file for adding one more method. Any idea why its not coming to the newmethod while debugging..I have checked the MIDl and the tlb is created file with res. test.odl dispinterface _programctrl { [id(30)] boolean newmethod(BSTR var1,BSTR var2, BSTR var3, BSTR var4, BSTR var5); } The method is coming fine when I have tested on the activextest container but the problem is when I invoke the method it is not coming to the program while debugging..I have opted 30 as id random number.id[30] I have called the method like this testpgm.cpp DISP_FUNCTION(testcontrl, "newmethod", newmethod, VT_BOOL, VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR) // BOOL testpgm::newmethod(LPCTSTR var1,LPCTSTR var2,LPCTSTR var3,LPCTSTR var4,LPCTSTR var5) { return TRUE; } testpgm.h dispidnewmethod = 30L Thanks, Rahul..

    SoftwareDeveloper(.NET)

    modified on Sunday, April 26, 2009 9:11 AM

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

  • How to Find files using http url path?
    S SIJUTHOMASP

    Stuart, Thanks much for the quick suggestion..I agree that the way server sending the list of files would be better and will proceed in that way.. Appreciating.. Thanks, Rahul..

    SoftwareDeveloper(.NET)

    C / C++ / MFC csharp sysadmin data-structures tutorial question

  • How to Find files using http url path?
    S SIJUTHOMASP

    Hi, I have one scenario in code that finds all files from the given local/unc path with wildchar. The code sample is given. The enumerator could iterate through the number of files in that path and return the exact path of each file and which will be added to an array for later use.. The above part is working fine..but my requirement is to find the files in similar way with the url path. For eg; the path will be http://server/test/\*.bmp and it need to get the url of all file existing on that path like, http://server/test/a.bmp, b.bmp, etc.. Is there any way similar to the code given to do this for url path..I have tried the way OpenUrl() and CinternetSession but it didn't work..Would really appreciate for showing the right way.. CFileFind fileFinder; char oldDirectory[512]; GetCurrentDirectory(512,oldDirectory); BOOL flag= fileFinder.FindFile(pathDirectory+strWildcard); while(flag ) { flag = fileFinder.FindNextFile(); lstArray.Add(fileFinder.GetFilePath()); } SetCurrentDirectory(oldDirectory); Thanks in Advance..

    SoftwareDeveloper(.NET)

    C / C++ / MFC csharp sysadmin data-structures tutorial question

  • Help?
    S SIJUTHOMASP

    Yusuf, Do we need to specify any command specifially for register while creating msi? What I did was, added the files and updated the registry with cls id? Did I miss anything? Thanks, Rahul.

    SoftwareDeveloper(.NET)

    ASP.NET csharp windows-admin help question

  • Help?
    S SIJUTHOMASP

    I have created one msi installer and it could able to complete sucessfully and the registry entries also made correct..but when I open the web page , the control is not loading..but when I execute regsvr32 through cmd,the web applicaion could load the control.. Any idea? Thanks, Rahul.

    SoftwareDeveloper(.NET)

    ASP.NET csharp windows-admin help question

  • How to Load Image from url?
    S SIJUTHOMASP

    Hi Hamid, Thanks much for your reply..I will check this and let you know if that example works for me. Thanks, Rahul.

    SoftwareDeveloper(.NET)

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

  • How to Load Image from url?
    S SIJUTHOMASP

    Hi Sashoalm, Thanks much for your reply. The control could load images from any unc path or local path (\\server\test\ab.bmp or c:\projects\test\ab.bmp). This is not an instance of IE. The image files are available in the server location. But if we store that to the client, the client machine will have all the files. My thought was like if the control could load the image from any virtual folder or url (server) then it would be much helpful. I have seen that the media player ,irfanview etc could able to load the image url in it.. Hence I believe it will be possible with the activex control written in vc++..Really appreciate if can show any way to do this. Thanks, Rahul.

    SoftwareDeveloper(.NET)

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

  • How to Load Image from url?
    S SIJUTHOMASP

    HI, Is there any way to load image from a url. I have one activex control which has been used in the web application and the application will pass an UNC path to the control. From that path, the control will load the image. The activex control has been written in vc++/MFC. I need to load the image using the url. For eg: http://site/test.tiff. I have modified the code of the activex control and given the url, then it was failing with the error "assertion failure". My confusion is this, when I tried to open the image as url through IE, it could open, but when it is passed to the program it couldn't load. Will you please help and provide me the way if it is possible. Is there any way to load the image instead of passing the path and directly passing the imgage itself. Any idea why it couldn't load the image from url and only it is loading from UNC path. Thanks in Advance, Rahul.

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

  • How to resolve LNK2001 error (ver: VC ++ 8.0 and .net 2005)
    S SIJUTHOMASP

    Finaly I could resolve the issue. I have done the following steps to resolve the issue. 1) Have set "Multi-Threaded Debug(/MTD" in all the projects under workspace. this thing was correct already but mentioning here for future reference. 2) In the Resources-->Preprocessor Definitions , I have set "_DEBUG,_MT,DLL". I believe this part , corrected the issue. previously it was having only "_DEBUG". Thanks,.. :-D

    SoftwareDeveloper(.NET)

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

  • How to resolve LNK2001 error (ver: VC ++ 8.0 and .net 2005)
    S SIJUTHOMASP

    Few libraries actually was written in vc 6 and using those with that..but it has been upgraded to vc 7 .. Thanks

    SoftwareDeveloper(.NET)

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

  • How to resolve LNK2001 error (ver: VC ++ 8.0 and .net 2005)
    S SIJUTHOMASP

    I have upgraded a project written in VC++ 7.1 version using the .net 2005 wizard. After fixing few code related issues, I have got the following errors while building error LNK2001: unresolved external symbol DllCanUnloadNow error LNK2001: unresolved external symbol DllGetClassObject I have declared this in the .def file as DllCanUnloadNow PRIVATE DllGetClassObject PRIVATE I would really appreciate for showing me the right way to resolve this please. Thanks in advance.

    SoftwareDeveloper(.NET)

    C / C++ / MFC csharp c++ help tutorial announcement
  • Login

  • Don't have an account? Register

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