User Profile

Collapse

Profile Sidebar

Collapse
nikpreek
nikpreek
Last Activity: Nov 26 '11, 11:47 AM
Joined: Jun 15 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Just me again... There is already an option in Windows firewall. Just add the IP which you want to have access.
    In Widows Firewall - Exceptions Tab - [Select the port to configure] - Click on Edit - Click on Change Scope - Select Custom List - Add the list of IP as you want ... all set.
    Hope this helps someone...
    See more | Go to post
    Last edited by nikpreek; Sep 19 '11, 08:48 PM. Reason: Marking as answer

    Leave a comment:


  • Monitor / Allow port traffic for filtered IP List only

    Hi Gurus,

    May be simple one for you; but I kind of unable to get my head around it.
    I have an FTP repository on my server (in UK), which I have exposed to outside world by exposing a port (changed the default one) through my firewall. This is for my office in India for developers to share data. But the issue is, this can be connected from anywhere if you know username & password. I want to configure my Firewall so that only...
    See more | Go to post

  • LOL.... Sorry guys. It was just me being ignorant and stupid to jump for the questions. I had checked both the firewalls (Host & VM) for windows, event viewer and McAfee Firewall events. Today I noticed a new option in firewall named NetGuard (don't know since when it was installed). It had blocked the IP for the India office.
    I just disabled all firewalls and problem was solved. It gave me clear indicator that one of the firewall is blocking...
    See more | Go to post

    Leave a comment:


  • Hi Sicarie,

    Thank you very much for your response.

    I checked following and found these:
    1) They have internet access.
    2) They can access UK sites, with no problem.
    3) They cant ping my IP (request times out). Even tracert shows that my Virgin Media gateway name for the IP, but even in this case the request times out.
    4) They can't ping / connect any website (IIS / Apache) or even ftp / telnet on my...
    See more | Go to post

    Leave a comment:


  • Strange Network Problem, access timing out from 1 network

    Hi Gurus,

    Scenario: I've come across a strange network problem. I host a web server (Win2K3) on a virtual PC (host is Win XP), here in UK. I redirect my website using DNSExit and been using it for different apps since last 2 years. I have only 5-6 concurrent users. Most of the users are from a office in India.

    Problem: Since yesterday no one from the India office can access my website (Sorry, I can not give web address)....
    See more | Go to post

  • nikpreek
    replied to Difference between SQL Queries
    Thanks mate.
    Is there any more detailed description available on net?

    Thanks in advance.
    See more | Go to post

    Leave a comment:


  • nikpreek
    started a topic Difference between SQL Queries

    Difference between SQL Queries

    Hi All,

    I know its very basic question and event I know the answer for this. But I haven't found any proof of this. Is there any difference between thse queries (given below at end of post)? (In terms of performance)
    • I'm using SQL 2000 and 2005 both.
    • When I check with "Esimated Execution Plan", there is no difference (50% each), but there is very little data in my tables.
    • I feel, Query 1 is preferred style of T-SQL developers
    ...
    See more | Go to post

  • Thanks for reply, Nathan.
    But, what I meant is, I've got all these versions installed on my PC. But my entire solution is in .NET 1.1 and only one project (Test Suite) refers NUnit version 2.4, that's all.
    But still I'm getting this error.
    I'm still struggling to get any answer myself.
    If I get any answer, I'll sure post it here....
    See more | Go to post

    Leave a comment:


  • Multiple NUnit and .NET version interaction failure

    Hi All,

    I've VS 2003 (.NET 1.1) and VS 2005 (.NET 2.0) on my dev PC. For different projects I also have different NUnit versions (2.2.8, 2.4, 2.4.1).
    For this particular project in VS 2003 and NUnit 2.4 all my projects get built except Test Suite. When I try to build test suite I get following error:
    Metadata file 'c:\Program Files\NUnit 2.4\bin\nunit.f ramework.dll' could not be opened -- 'Version 2.0 is not a compatible...
    See more | Go to post

  • Ho Yeah. Its ME :-)
    My source file was being created as ASCII hence my DTS with ASCII was working, but with no unicode.
    Now, I've changed it (text file) to be produced as Unicode. My DTS also changed to Unicode, just WORKS fine. :-)

    Thanks you for reading.

    Cheers,
    Nik
    See more | Go to post

    Leave a comment:


  • SQl Svr 2000 - DTS - Multilingual Data handling

    Hi All,

    I'm trying to upload a delimited text file containing french characters to SQL server 2000 using DTS. After upload, all the french characters are messed up. I though I dont have some international language support in my Db, but when I tried to update same data using UPDATE command, it works. It means, my SQL DB is able to hold french characters (nVarchar column).
    When I tried to open the file in DTS editor and see the...
    See more | Go to post

  • nikpreek
    replied to zohreh Question
    in .NET
    Please specify in details. Are you generating the formula string at runtime? or its a fixed formula and u want to evaluate it based on variable values?
    OR, its something else?

    Cheers,
    Nik...
    See more | Go to post

    Leave a comment:


  • nikpreek
    replied to months between two dates
    in .NET
    Hi,

    There is no direct way (at least to my knowledge). Write a custome function to get the array. I think you might have months for 2 years (wht wud u do then?)
    I'm assuming that u need it for any number of years.
    Algorithm: (In steps)
    1. Write a function to return string array (or list for binding).
    2. Create private string array internally from 0 to 11 index (Jan to Dec).
    3. Accept two dates as...
    See more | Go to post

    Leave a comment:


  • nikpreek
    replied to Two digit after decimal
    in .NET
    Or else if you are only looking for display, use ToString and format string
    C# Code:
    [CODE=cpp]
    double d = 2314.345;
    string sResult = d.ToString("0.0 0");
    [/CODE]

    It Returns 2314.35. Note the rounding, which happens automatically.

    Cheers,
    Nik
    See more | Go to post
    Last edited by nikpreek; Jun 26 '07, 01:31 PM. Reason: Spelling mistake

    Leave a comment:


  • Got it. :-)
    I used Depends.exe to find dependencies for my DLL. And found that Msvcr71.dll was not present in the WinSys directory (Windows/system32 in my case). Just copied it (Not to be registered) to WinSys directory and Hoorrrah.. the setup worked and my app is now up and running on our tester's PC.

    Summary: For any DLL registration errors (not understandable) , use Depends.exe from (http://www.dependencyw alker.com/) and...
    See more | Go to post

    Leave a comment:


  • nikpreek
    replied to How to put my website on the internet
    Hiya,

    You need to buy hosting subscription and domain name.
    E.g. visit http://www.streamlinen et.co.uk (For UK)
    FOr USA visit http://domains.host.ac/kb/servlet/KBServlet/cat205.html for more information.

    Cheers,
    Nik
    See more | Go to post

    Leave a comment:


  • Hi DeMan,

    Thanks for the reply. I'd already tried these, but no luck :-(

    All other DLLs are getting registered except this one (axscphst.dll). There is no info available on web for such errors.
    Well, I'll keep on investigating. If, I get any solution, I'll post it here.

    Cheers,
    Nik
    See more | Go to post

    Leave a comment:


  • Unique LoadLibrary error with SQL sever dll using regsvr32

    Hi All,

    Another strange and one-off problem. I have an class library (written c#) having code for loading DTS pkg (saved on HDD as structured file) (from SQL 2000) and then executing it with a parameter of source text file name.
    It works fine on development PC.
    My destination app server or testers PCs doesn't have SQL server or any of its components installed. Hence, I referred a column from this site (http://www.sq...
    See more | Go to post

  • nikpreek
    replied to split()
    in .NET
    You can use one of these: (Code is in C#)
    1.
    [CODE=c]
    sResult = @"C:\Temp\myfil e.txt";
    int index = sResult.LastInd exOf('\\');
    sResult = sResult.Substri ng(index + 1);
    [/CODE]
    2. Or, if you are using this for file or dir path, you can import System.IO namespace. Then u can use static functions from Path or File or Directory classes to break your path into directory and file name (with or without...
    See more | Go to post
    Last edited by nikpreek; Jun 19 '07, 01:40 PM. Reason: Updated Code Tag

    Leave a comment:


  • nikpreek
    replied to Access Mdi Parents Variable
    in .NET
    Oops, my code is in C#

    Use this: (C#)

    MyMdiForm o = (MyMdiForm)this .ParentForm;
    o.ShowForm(send er);

    Here this is used for current child form.

    I think if u r using .NET (managed C++), just syntax will be different, but form class will have all its properties
    See more | Go to post
    Last edited by nikpreek; Jun 19 '07, 01:26 PM. Reason: code in c#

    Leave a comment:

No activity results to display
Show More
Working...