Deepak Hota's Q&A profile
Visual Studio Express Editions vb.net services
Hi I found this site a while ago, but have lost the url. It lets you add things such as product registration and error reporting to vb.net applications. NOTE: It is nothing to do with product registration benefits!!!! ...Show All
Visual Studio 2008 (Pre-release) <soap:address location="http://dedl13/BlogService.svc"/> My HOSTNAME?
<soap:address location="http://dedl13/BlogService.svc"/> Why in the world does WCF always show my local server name when I publish a service No one can use that. When the clients get the service description it has to manually be changed. How can I change this in WCF ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA project hard freezes XBOX360
A game I have been developing works perfectly fine on windows, however, causes my xbox to hard freeze (all controls stop responding and the device can only be shut off from the power button on the xbox itself), which in turn detaches the debugger. This seems to happen after an arbitrary amount of time, and thus leads me to perhaps memory issues. I haven't been able to find anyone else with a similar problem, but if anyone has experienced similar problems, I'd be interested in knowing how you went about debugging and or solving this issue because I'm having lots of difficulty isolating the problem to any one block of code. At any rate, it seems odd that my managed code (no shaders either) would cause the entire xbox to freeze considering it ...Show All
SQL Server Problem with dtutil hanging
I am using a script to copy a number of packages (50+) from my desktop computer (file system) to a remote server (MSDB). The script works fine, but I can never get through the entire script without it hanging up. Some times only 3-4 packages get copied, sometimes a lot more. If I close the windows cmd window and restart at the point it hung, it continues, but usually hangs up again. If you repeat this 2 or 3 times, it eventually gets all of the packages copied. It does not always hang at the same point. I have tried doing the copies with "quiet" mode - overwriting the existing packages and I have tried first deleting the packages, then copying - doesn't make a difference. I have also tried moving the packages to a couple of diffe ...Show All
Software Development for Windows Vista LDAP user authentication
I am trying to work out a way to authenticate users from our Novel LDAP server. I have tried quite a few approaches based on sample code but I seem to always come to the same dead end with the following error: The authentication method is not supported. Can anyone suggest a better approach I have to use LDAP. Here is some sample code fom my latest attempt. Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim myPW As String myPW = txtPw.text Dim myAuth As New LdapAuth( "nds1.williams.edu" , False ) Dim myCred As New Net.NetworkCredential( "jallison" , myPW, "cn=jallison,ou=staff,o=williams" ) m ...Show All
Windows Forms Both DataSource and DataSourceID are defined in Gridview1
By the way you guys in this C Forum ROCK. Other forums may take weeks or months before you get an answer. I have a problem using C# on a ASp.NET site. I have a Table Adapter with two queries. 1 to return all projects and the other to return projects on ProjectID parameter. I use GridViewProject bound to ObjectDataSource1 to return al projects, but have a search textBox with a button on the same page. I have included in my page_load event some code to do as follows: if (textBox == "") // I have used == null to no avail as well. GridViewProject.DataSource = myAdapter.GetProjectData(); else GridViewProject.DataSource = myAdapter.GetProjectDataByProjectID(textBox); //textBox = TextBox1.Text I have alre ...Show All
SQL Server Transformation for Lookups Between Two Values
I have a dimension table for Retail Order Size. Each row in the dimension has a Starting Value and Ending Value column pair. In TSQL, the correct RetailOrderSize key is found by using the BETWEEN statement, like so: SELECT RetailLevelKEY FROM dbo . DimRetailOrderSize WHERE @Sec1Retail BETWEEN StartingValue AND EndingValue Is there a Data Flow Task Transformation in SSIS that replicates this functionality, or some other way of getting to the same answer in SSIS Thanks in advance for your help SSIS does have a Lookup transform, however its current design does not support ranged lookup directly, as a work around, you may find this link useful http://www.synthesisone.com/article.php/ssis-lo ...Show All
Visual Studio Express Editions Fundamental doubts on DLLs and Lib files on Windows
Hi, I am a Solaris developer trying to port an application to windows using Visual C++ Express Edition and SDK. The application can be briefed as a module for Apache 2.2. The output I want is a DLL which has a function which will be called by a module in Apache. I have a core set of files which I compile to a static library A.lib. Then I have another set of business logic which uses A.lib and the output is B.lib. Around B.lib I have a set if interface methods which I want to publish as exported function in a shared library say C.dll. When I build I get the size of A.lib < B.lib. I want total logic as a single DLL C.dll and expect it bigger than both A.lib and Blib. But the size is A.lib around 5 MB, B'lib around 4 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Major DirectX Problems
I have been having problems with actually installing DirectX, and I've searched the forums and looked at all the possiabilities that could be causing the problems. I do not know why it keeps giving me an error when I have every thing linked correctly. Here is the error I get, and I dont know why its not working: ------ Build started: Project: CreateDevice, Configuration: Debug Win32 ------ Linking... CreateDevice.obj : error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function "long __cdecl InitD3D(struct HWND__ *)" ( InitD3D@@YAJPAUHWND__@@@Z) Debug/CreateDevice.exe : fatal error LNK1120: 1 unresolved externals Build log was saved at "file://c:\Program Files\Microsoft DirectX SDK (October 2006)\Samp ...Show All
Visual C++ breakpoints and watches in un/managed c++/cli mixed code
I'm adding managed c++ (c++/cli) code to a mostly unmanaged project and I'm finding that I cannot put any breakpoints in the managed portions and that watches don't return any useful information. Is this a feature, or is there a workround TIA Can you verify and make sure that the symbols of you the managed dlls are getting loaded. Can you try an alternative, instead of debugging your main application (.exe) can you open up the managed project, set the startup application and try debugging it. This is an alternative that you can try, but as far as VS is conserned, it should allow you to debug managed and native code from the same debugger session. I am asuming that you are not performing a remote de ...Show All
Smart Device Development drawtext, drawstring or something like that??
please guys.. How can I use Drawtext, drawstring, etc for CF because drawtext on SmartDevice different with windowsForm. I can't find it.. many thanks before.. I've answerd on NG: http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_frm/thread/53db1f0ee08af438/67b8207f4bd09730 hl=en#67b8207f4bd09730 ...Show All
Visual FoxPro small test on transaction atomicity
Need help with small test on table in database with transaction. Could somebody show state of table after execution this code: CLOSE ALL CLOSE DATABASES OPEN DATABASE "c:\ path to database\data1.dbc" SHARED BEGIN TRANSACTION UPDATE data1! table 1 SET name = 'BBBB BBBB BBBB BBBB BBBB' = Messagebox ('END TRANSACTION') END TRANSACTION if in table1 before execution was 500K records with value "AAAA" and VFP process was killed after click OK in messagebox and before all trasaction bufers was stored in dbf file (2-3 seconds after click OK) I interested in "select count(*), name from data1!table1 group by name" output No I am sorry, but I have to ...Show All
SQL Server SQL Server Error 15404
I am trying to learn replication and using Agent jobs while attached to my corporate domain. Trying to use my personal domain account to run jobs or replication, I keep getting: SQL Server Error 15404, Could not obtain information about Windows NT group\user 'MyName\MyDomain', error code 0x5 [SQLSTATE 42000] (ConnIsLoginSysAdmin) What might be preventing SQL Server from getting my account information from the domain Group ploicy Thanks in advance, Richard Changing the SQL Server Agent services (on both the publisher and subscriber) to run under my personal domain account has things working properly. I will have to experiment with other settings and the Local System account to see what exactly w ...Show All
Visual Basic Edit properties of controls on other forms
I understand how to change the value of a textbox by making a new form in the code Dim Form2 as New form ... Form2.show() This however does not work for me, i need to edit existing form controls that i make in the designer. So instead of making a new form in the code, i wnat to just edit one i already made. Right now i can only get the code to run when I dim Form1 as new Form I cant dim it as new, then nothing works and i get null erros and such. Any help will be greatly appreciated, I did search the forums and all i found was what i have above and that wont work, atleast i dont believe it will. The reason you are having a problem referring to the controls you are creating in t ...Show All
Visual Studio Team System QueryHistory and invalid dates
I am trying to call QueryHistory to get all changesets between two dates. I am passing a start date that is before the TFS server was set up, ie it should be invalid. I am trapping for DateVersionSpecBeforeBeginningOfRepositoryException during this call. However, the call itself does not throw an exception. It's only when I try to enumerate through the changesets in a separate client app that this exception is thrown. This seems like wierd behaviour. Shouldn't the QueryHistory throw this exception Or I am doing something wrong Here's my code: System.Collections.IEnumerable changesets = null; try { changesets = versionControl.QueryHistory(baseFolder, VersionSpec.ParseSingleSpec(startDateString, null), 0, ...Show All
