GeeMann's Q&A profile
.NET Development Getting Remote IP address!!
Hello, My computer is connected to the internet with other computers thru a router, my LAN ip is 10.0.0.84, but it is not the WAN, so how can i write a windows or console app that gets the WAN IP Thanks See this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=948963&SiteID=1 Best Regards, Rizwan ...Show All
SQL Server Login Failure
There have been other similar posts, but this is my issue: I have set up database mirroring with a witness, and failover works properly. I have also installed the login id's and their original SID's onto the mirror server. When I run a Reporting Services report against the primary database, it runs properly. When I failover to the mirror server and run the report again, I get a "login failed for user" error. As I have already said, the SQL login that the Reporting Services report uses was installed on the mirror server with the original SID. Any ideas as to what else might be wrong Can you check the SID on master and user databases similarity Also specify a valid, available database in the co ...Show All
Visual Basic Password Encryption and Descryption
Hai I have a small question regarding password encryption and decryption Here is my scenario; in my system admin is the one who creating the users account so when creating the user accounts for the systems users, I have got User name and Password etc... So after giving relevant user name and password I need to encrypt that password text box value and store in ton the database. And when the relevant user log in to the system again user has to type user name and password, so in this case I need to decrypt the password text box value and check against the database value , So how can I dot this task using vb.net and SQL server 2000 Regards Sujtihf Hai weirdbeardmt, Thank you for your artcil ...Show All
Visual Studio VS2005 Registration Benefits - not allowed access to Registration Benefit Portal
I just registered my copy of VS2005 Standard Edition that I received at the VS2005 Launch. One of the benefits of registering is free icons, components, etc. When I try to go to the Registration Benefit Portal to download them I get a page stating that the page is missing or I lack authorization. Is there a trick to this -Chris Here is the url for the portal that is NOT working: http://go.microsoft.com/fwlink/ LinkId=52054 ...Show All
Visual Studio Tools for Office Msdn help for Microsoft.Office.Interop.Outlook members
Hi, I develop outlook add ins whith vs 2005. I try to find help for Microsoft.Office.Interop.Outlook members but I don't have it on my local help(it's not exist in the index) but I can see Microsoft.Office.Interop.Excel and Microsoft.Office.Interop.Word in the index. Why I don't have it I searched over the web but I didn't find any help for this namespace members (classes ,interfaces etc. for example : Explorer interface , ExplorerClass). How can I install it on my local machine and where can I find it over the web. Thanks, David Hey David. I believe you can find what you are looking for on MSDN at http://msdn2.microsoft.com/en-us/library/ms376626.aspx or http://msdn.microsoft.com ...Show All
Software Development for Windows Vista Invoke another workflow
Hi, I know it is possible to invoke a workflow from another workflow. But is it possible to invoke a custom Sharepoint Workflow from a "normal" workflow Thanks Thomas Well without really giving it too much thought, you could host a Web Service on the SP server, that you called from your "normal" workflow and this would in turn invoke your your SP workflow Or you could get fancy and look at some remoting / service that runs on your SP server to do the same kind of thing I'm just throwing out random thoughts here though ... ...Show All
.NET Development SortedList incorrectly(?) says key exists
Hi, I get an odd result when adding two entries to a SortedList, where the key is a string: SortedList < string , string > list = new SortedList < string , string >(); string s1 = Char .ConvertFromUtf32(0x1700); string s2 = Char .ConvertFromUtf32(0x1701); bool equal = String .Equals(s1, s2); list.Add(s1, "First" ); list.Add(s2, "Second" ); When adding the second entry, an exception occurs saying that an entry with the same key already exists. The comparison though results in equal = false. I admit the characters are a bit strange, but they are defined (see http://www.unicode.org/charts/PDF/U1700.pdf ), although I can't see that should matter. I guess it has somethi ...Show All
Windows Forms FolderBrowserDialog keeping application open
Hi, I have a simple windows test application (c#, .Net 2.0), which contains a button. Once the button is clicked on, a folderbrowser dialog appears (called using the showdialog() function). If I run the application without clicking the button, or run it without the folderbrowserdialog code implemented, the application works fine and shuts down as expected. However, if I run the application so that the folderbrowserdialog appears, when I shut the program down, the window disappears, but in the process manager, the application is still active. The only way of stopping it is by killing it in the process manager. So, I came to the logical conclusion that the folderbrowserdialog is somehow keeping the application open. The strange thing is that ...Show All
Visual C++ Still having problems with printing out INT64 integers
Still having problems with printing out INT64 integers I am still having problems with this code. This prints out a number, but it's not exactly what I want. I need to print out an INT64 number that is in sync all the way through. For example: The hex: FF D8 FF E1 1E 63 45 78 is the first line of the file test.jpg. I would like to display its integer (unsigned) value: 18435766416983672184 But what it does it prints out is the number for hex 78 45 63 1E E1 FF D8 FF, which is 8666442042236197119. I thought this would be ok, but later when I want to do more stuff to the program it won't work. There has to be a simple way of reading in 64 bits of data and then output the decimal value into a .txt file. Please can someo ...Show All
SQL Server Row yielded no match during lookup
In SSIS. I am having trouble exporting records that don't match from a lookup transformation. I get the following error: Row yielded no match during lookup. I would really like to have a list of all records that did not match so that I could send an email of those missing rows Please give me solution with example Thanks leo1 wrote: Thanks for email I m new in SSIS, please suggest such error output with example. Leo, when you configure a lookup transformation to 'redirect error' all no-matched rows are sent to the error output instead of failing the task (the error you originally received); obviously those error rows will have null in the columns that the lookup transfor ...Show All
Visual Basic SSH, VB.NET and Multi-threading
I'll start with my question and a brief bio: The question is, "Can anyone assist me in multi-threading this " Bio: I'm still new to VB.NET. A while back, we had a need to create "something" that would SSH to multiple servers, run a command (or series of commands) and return the results. The code below is what I came up with. In regards to the question I posed, this app runs on a server with multiple CPUs and plenty of horsepower. The application kicks off Plink which is a command line utility that comes with Putty. Works great...but, it is slow. When I say multiple servers...I'm talking about more than 15...it executes Plink.exe, runs the command, returns the results, executes Plink.exe, runs..., ..., ... Ad ...Show All
Visual Studio database login pop up
Hi, I am doing windows app in vs05. I have deployed several CR reprots. A problem just identified is that on one report, everytime user execute my program, the Database Login will be prompted, and no report is loaded into the viewer regardless what action has been taken after that (Cancel, Finish, type in id and pwd, or check use integrated security).. BTW, on the pop up, the grayout Server name box has Newdataset in it, and database box is empty. Also, it only happens on client machine, but not my dev box under debug run. I know there is a way to bypass the Database Login Prompting, for instance the next link. http: / / support. crystaldecisions. com/ communityCS/ TechnicalPapers/ cr_ rdc_ dbconnectivity. pdf. asp I am trying some of t ...Show All
SQL Server How to rename a column or table on the desktop?
I am using the compact edition on a desktop using VS2005 as well as SQL Server Management Studio. None of those tools allow me to rename a column or rename a table. Can someone point me a tool the runs on the desktop (as opposed to running on a CE device) that allows me to do the renaming Thanks I have published an article on this subject that you can adapt to the desktop: Renaming a SQL CE Table From a .NET CF Application Although some of my products do that (I am affiliated to that company ), you don't have to purchase one just to rename a table or column name. The code I published on that article can be easily adapted to the desktop. If you have problems with it, just let me know. ...Show All
.NET Development Incompatible source code in team dev. env??
Hi All, In my VS2005 team, I have two developers who have their font size (DPI setting) set to different size. One leaves his DPI to normal, and the other set to 115%. They both have screen resolution set to 1280 x 1024. The big problem is that, if a form is modified by developer A, and then developer B cannot use it because at runtime, the form will look very unstable with truncated text or bottom cut-off text. I do a code different and found that VS 2005 modifies the size (in size() function) of any control placed on the form as shown below: Dev A (has DPI set to 115%) this.msktbxContactPhone.Size = new System.Drawing.Size(113, 23); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F); Dev B (has DPI ...Show All
Visual C++ Invoke throws an exception with VC8 ported code...
Hi, I have upgraded vc5 ATL server DLL to vc8 and vb5 client to vb6. I have a VC8 Atl server dll that I would like to fire an event to then be used by VB6 using the With Events keyword. BUT when DLL raises event, it throws an exception at the following statement.. pDispatch->Invoke(0x1, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL,NULL, NULL); It was working fine with my original source code in vc5 and vb5 client. Any ideas Thanks, Mac Hi, It was properly working with VC5 and VB5. I tried AddRef to vb object in overrided advise() method, but still the problem persists. Well I don't know how to call AddRef before Advise(), as it will be called automatically by vb I am using object with ...Show All
