Software Development Network Logo
  • Visual C#
  • VS Team System
  • Smart Devicet
  • Windows Vista
  • IE Development
  • Windows Forms
  • Visual Studio
  • Visual C++
  • .NET Development
  • Game Technologies
  • SQL Server
  • Visual Basic
  • SharePoint Products
  • Visual FoxPro
  • Microsoft ISV

Software Development Network >> dickP's Q&A profile

dickP

Member List

ga2006
tdcntt
Andreas_
Dr. YSG
hariram_1975
D. Omar Villarreal
Boulderdude
Iota Studios
VSChallenged
Ed Allison
JFoushee
Proxima
clint 2
JavaBoy
redneon
crobar
VIKI esquire
Chardiot
ShikhaVaid
LostCoder
Only Title

dickP's Q&A profile

  • .NET Development how to impersonate a local user in C#

    a shared folder was created on a server. and a local account also created on the server.i assigned this local account to this shared folder. i want to access this folder from a client. from a client, i try to impersonate the local account, but it fails. i used the logonuser() function which receive domain name, username and password. in this case, what is the value of domain name ex: machine name= devsrv,username=ysa, password=123, folder name=images i pass the following to logonuser() : domain="", username="devsrv \ ysa",password="123" but it fails. How can i impersonate the user For localuser accounts the domain = "." Se ...Show All

  • Visual Studio Express Editions VC++2005 EE & Books

    Several people have asked about books for VC++2005 EE. I have recently bought Pro Visual C++/CLI by Stephen Fraser, Apress, 2006 & it is truly an excellent book. It not aimed particularly at EE but nearly all the code runs under EE & the explanations of the C++/CLI & .NET Platform are very clear & helpful. The book is not cheap - 47.99GBP in England but you in the US can get it cheaper! You have to know C++ in order to benefit from the book. Incidentally, I have no connection whatsoever with Stephen Fraser or Apress! ...Show All

  • Visual C++ How to convert the DEC to HEX type??

    Hi ~~~ I have a problem. I can't convert the dec to hex Example int qq = 100; how to convert to hex (Not : 0x100) I want to convert the "qq" . Or how to convert the string "100" to "64" (dec type convert to hex type) Thanks for your help!!! Hi!! Thanks your answer... But I don't understand that strtol("100",NULL,10); ←it means what and ltoa(i,buffer,16); ←it means what Because I can't find them from MSDN Library....... And I'm sorry....I made something wrong!! I set qq is String like this (String^ qq) and qq = "123456", the "123456" is catch from other's some segment...so it's not has the range or mayb ...Show All

  • SQL Server is there a TSQL statement to delete file like xp_delete_file for SQL2000

    I know there is a command xp_delete_file for SQL 2005 but if I want to delete a file from a 2000 database is there a command to do the same. Didnt' find a good TSQL option but did find a VB script I modified to do the job. The SQL Agent can run VBscript so this works well. For other people with the same problem the script I"m using is. Option Explicit on error resume next Dim oFSO Dim sDirectoryPath Dim oFolder Dim oFileCollection Dim oFile Dim iDaysOld iDaysOld = 2 Set oFSO = CreateObject("Scripting.FileSystemObject") sDirectoryPath = " \\nas01\SQL_Server_Backups\EZPROD01 " set oFolder = oFSO.GetFolder(sDirectoryPath) set oFileCollection = oFolder.Files For each oFile ...Show All

  • Visual Studio 2008 (Pre-release) Drag and Drop - How to interchange Tab Item positions

    Is it possible to re-arrange tab items on a tab control using drag and drop assuming that the TabControl sits on a standard container such as a Grid Appreciate anyone's inputs on this. this thread might answer your question http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1035626&SiteID=1 ...Show All

  • Visual Studio Team System View file in solution explorer

    That's odd, I'm sure I used to be able to double click on an object (in this case a stored procedure) in schema view and it would open for me to edit. Now I just get the menu item 'View file in Solution Explorer' which doesn't work. It just flicks back to the solution explorer and doesn't expand the correct folder or select the correct file. Am I mising something I just tried this, when I double click an object it opens the file for edit, and when I click on solution explorer the file is highlighted. Not sure why you're not seeing this... perhaps try repair in add/remove programs ...Show All

  • Software Development for Windows Vista TIP Txn resolution (*ONLY* failed to notify)

    Hi, It appears that DTC is not fulfilling its end of the bargain when it acts as coordinator in a distributed TIP transaction. I deliberately killed my Transaction Manager after it had successfully returned a PREPARED response to the DTC. I then pulled the plug (literally) on the network connection. After bringing my TM back up, it began waiting t3$tip_unresolved_search_detent seconds between attempts to obtain the outcome of the txn from DTC. I then restored the network connection, and to my astonishment, DTC just sat there content that my loyal Resource Managers (Rdb) were enforcing the ACID properties of a true 2PC and locking all affected rows. After some many minutes of inaction, a net stop/start msdtc was able to force a com ...Show All

  • Smart Device Development Application Icon in Start Menu

    hello. Can someone tell me how can I set an icon for an application in the Start Menu Folder I am making a cab file for instalation and in this file I put the icon too. when I install the cab file on my device, in Start Menu Folder I see the generic icon for executabiles files. Thanks. Did all that and still no icon. It puts the icon in my project but no icon in the Start Menu. :( If I deploy the application on the device, the icon appears... but if I install the cab , I see the icon in the instalation folder but the application has the generic exe icon. ...Show All

  • SQL Server csv export without headings

    Hi, is it possible to export a report to a csv file without the headings at best i have been able to hide the headings in the report, but when exported to csv file it includes a row at the top of commas, then the data follows. I need the file to be just the data. thank. Hi, thanks for replying, that kind of worked. I am still getting the first row to be a row of commas. do you know how i can get it to omit this first row of commas if not, we could have all the column headings, but because it's a matrix, it's not exporting my static column headings. any ideas on this Thanks. ...Show All

  • Smart Device Development Windows Mobile 5.0

    Hi, I have created a project which uses a custom contro. l also created a cab file to install it using .net2005, Now my problem is that everything works fine on windows Mobile 5.0. But after i update the device with AKU2. My Application runs well for some forms but when it comes to the form which contains custom control it crashes. Strangly, This happens to that executable which i install by using my cab file. But if i manually copy the same executable on the device it works fine. Any suggession, please. Thanks in advance. Is your CAB installed correctly Do you see the EXE and all other files if any in the right location Do you have all dependencies installed (e.g. that custom control ). What is the exact error you're ge ...Show All

  • Community Chat .NET

    What is the difference between .NET and java. If both are platform independent, can you suggest which is the most preferable based on platform independency. .NET application needs to have .NET framework running on the machine where you want to run it. In case of Java, you need to have JVM/JRE running to run Java application. As per my knowledge, JVM/JREs are available for different plateforms but DOT NET needs to have MS operating system. Note: there is possibility to run DOT net application on non-Microsoft plateform using some 3rd party application like MONO. Hope this helps you understand the difference. Well, I will love to work on DOT NET.... ...Show All

  • Visual Basic Embedding a Flash as background of a form!

    Hi everybody, I have a MdiForm named MainForm. How can I embed a Flash as background of this form I try to embed a Flash but when the MainForm shows, the Flash hides all MainForm's children. I try setting the flash component's Z order to the backmost by use: AxShockwaveFlash1.SendToBack()-> I can't see the Flash. Is there any wrong here Can you guide me more clearly ...Show All

  • SQL Server How do I update a table in batches ?

    I have an application that processes a large number of input files in a CSV format and then posts the data to a table on SQL Server Express. The data table can end up very large and I have no requirements to store all the data locally. I have included the table in my DataSet using visual studio express so I have access to the schema, but will not run Fill() on it. Ideally I would like to process a CSV file at a time. I can add records to my local (empty) data table and when I am happy, I can call tableAdapter.Update() or dataSet.DataTable.AcceptChanges() to generate lots of SQL 'INSERT' commands to update the physical database at the server end. I would then like to empty my local data table (so it doesn't get too big) and repeat the same ...Show All

  • SQL Server Oracle and unicode

    Since the .net oracle providers are the only ones that work in x64 it is extremely annoying that it insists on mapping ALL varchar columns in oracle to wstring. Is there a way to fix this The oledb providers don't have this problem but I don't like being forced to use the 32 bit runtime as a workaround. Brent Mills wrote: Since the .net oracle providers are the only ones that work in x64 it is extremely annoying that it insists on mapping ALL varchar columns in oracle to wstring. Is there a way to fix this The oledb providers don't have this problem but I don't like being forced to use the 32 bit runtime as a workaround. i'm not sure if this will help, but openlink has a 64 bit ole db to obdc pr ...Show All

  • .NET Development Cant find ilasm.exe

    I tried re-installing, and I tried looking. I have framework 2.0 I looked in every folder. Is there a download for it Here's an example of using ilasm / ildasm to roundt-trip an assembly: http://blogs.msdn.com/jmstall/archive/2006/01/13/debug-roundtripping.aspx ...Show All

©2008 Software Development Network