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

Software Development Network >> Kiwi bloke's Q&A profile

Kiwi bloke

Member List

Sideout
djchapin
Hoodwinked
rcsarp
MrZap
Chimme
JoraPJL
jwadew
silentC
Eileen Ewen
James2007
LiquidAsh
CJ1983
Glyn Darkin
Joe H
Zachovich
gauls
rod 001
Ceres629
cplusplus1
Only Title

Kiwi bloke's Q&A profile

  • Visual Studio 2008 (Pre-release) Common Dialog Box

    Hello, I was wondering how can i access open file common dialog box from WPF Thanks Houman WPF wraps both the file open dialog & the file save dialog: Microsoft.Win32.OpenFileDialog Microsoft.Win32.SaveFileDialog Thanks! Karen ...Show All

  • Smart Device Development programmatically remove program

    Is there a way to programmatically remove a program that is listed in the Removed Programs instead of having the user navigate to the Settings..System...Remove Programs...selecting the desired program to remove k. I went down the registry route and encountered a problem. I get a "Unauthorizedaccessexception" error when trying to delete the subtree. Found the article to use the unload.exe: http://www.pocketpcdn.com/articles/uninstall.html Also found this quote: On all Smartphone devices, as well as the next version of Pocket PC, the "official" way of doing this is through calling DMProcessConfigXML with the UnInstall CSP. Querying this CSP will also tell you w ...Show All

  • Smart Device Development RTC client on Pocket PC

    Hi, I recently downloaded RTC API, is it possible to use it in a Pocket PC Hi alex, sorry if I confused you but there is a big disucssion here about using RTC in Pocket PC, I believe it supports RTP(what I need to send voice), but I did not understand from the discussion if it is feasible or not Any help. http://msdn.microsoft.com/chats/transcripts/mobileembedded/embedded_050703.aspx ...Show All

  • Visual C++ Paint' : cannot convert parameter 1 from 'struct HDC__ *' to 'long'

    Paint function in microsoft visio viewer 2003 is like this: [id(0x60020035), hidden, helpstring("hidden method Paint")] HRESULT Paint( [in] long HDC, [in] long X, [in] long Y, [in] long Width, [in] long Height, [in] long SrcX, [in] long SrcY); but when I use the following codes to call funcitons: IViewerPtr m_Viewer( _T("VisioViewer.Viewer") ); CString strFunction("D:\\Program Files\\Microsoft Office\\Visio Viewer\\1033\\SAMP_VDX.VDX"); BSTR b = strFunction.AllocSysString(); _bstr_t b1 = b; m_Viewer->Load(b1); SysFreeString(b); m_Viewer->Paint(pDC->m_hDC ,10,10,200,200,20,20); there is the following error, please tell me how to solve ...Show All

  • .NET Development Scope_identity equal to 0 from a stored proc as well

    Here is my stored proc: InsertAccount Create PROCEDURE dbo.InsertAccount @AccRisAsse bit, @AccHldBll bit, @Acctaxexm bit AS insert into TblAccount(AccRisAsse,AccHldBll,Acctaxexm) values(@AccRisAsse,@AccHldBll,@Acctaxexm) return scope_identity() GO And here is the code in .Net to run the proc and get back the scope_identity: I delcare my sqlCommand sqlcmdInsNeAcc and connection from system.data.Sqlclient, I open my connection. all goes well then I do: sqlcmdInsNeAcc.type=commandtype.storedprocedure sqlcmdInsNeAcc.CommandText = "InsertAccount" pm = sqlcmdInsNeAcc.Parameters.Add(New SqlParameter("@AccountNumber", SqlDbType.BigInt)) pm.Direction = Para ...Show All

  • Community Chat Win an Ipod Nano!

    Hello everyone, My name is Stephanie Feiereisen and I am a researcher in the area of consumer response to high-tech products. The aim of my research is to help companies develop products and communication strategies which are more in line with consumers' needs and expectations. As members of your on-line community, you are regarded as experts in the field of high-tech products and are at the cutting edge of technological advances. Therefore, it would be a vital contribution to my research if you could fill in the on-line survey I developed. Your contribution is highly appreciated and your input will provide valuable insights to the area of consumer response to high-tech products! As a "thank you", you will also be entered ...Show All

  • SQL Server import data from excel data sheets

    Hello A problem with my replication system as occured. I have a working SQL server that can do replication trough internet, everyting works The problem is when I try to import large amount of data (10000 rows) to my database on the SQL server the subscriber on my client don't get the rows. That will say imported data is not being replicated. only rows that i have manually inserted will be replicated. I used the import wizard that came with SQL server. Is there a solution to this problem   Hi Thanks for a VERY god response I imported data to a yable and ran sp_addtabletocontents and Yeeeaaaa everyting is working . My import is a one time import before deploying my application so I am happy ...Show All

  • Windows Live Developer Forums Shape editing in VE SDK

    I do not see the WLL shape editing (scratchpad, polygon draw and edit) functionality in the VE SDK... 1. Is it somewhere else or not yet available 2. If not yet available - is this something we can expect in the VE SDK Cheers! Your code is helping me to do the same. Little bit changes & things r going on. But the drawing mode never stops. It just goes on. By double clicking it or selecting from right click or something should make it stop drawing the polygon. Even if u move ur cursor out of the map & move somehwere else, it goes till that & then again on entring the map it continues from that points. So, how do u come out of the drawing & do other work & the polygon just resides on its location. In ...Show All

  • Visual Studio Express Editions DoEvents in .dll

    hmm i face a problem... i made a .dll that updates my software by downloading update files with WebClient..but ofcurse it will jam my form and it wont respond untill its done...how can i make it respond in a .dll...coz theres no Application.DoEvents() as far as i saw :P thats the update sub of my .dll file [code] Public Sub Net() Dim Net01 As New Net.WebClient Dim Net00 As New Net.WebClient Dim q As Boolean = False Dim urll As New Uri("http://www.SomeWeb.com/update/update1.rar") Dim url As New Uri("http://www.SomeWeb.com/update/Rar.exe") Net00.DownloadFileAsync(url, My.Application.Info.DirectoryPath & "\Rar.exe") Net01.DownloadFileAsync(urll, My.Application.Info.DirectoryPath ...Show All

  • Visual FoxPro What comand to clear content of General field?

    - What comand to clear content of General field Now I only use menu Edit/Clear to clear content of General. I want use commad in program to clear it. - Why when cleaned content genefield but size of file .FPT too large ! Thanks! Table customs.dbf has field CUST_BMP(G) ... 1 -Now I want clear content field CUST_BMP all Use customs share Scan for not empty(cust_bmp) Append general cust_bmp EndScan ... 2- Why when clear content of general is OK but size file.FPT too large ...Show All

  • Visual Studio 2008 (Pre-release) objectdataprovider.refresh()

    What does this method do in the context where the ObjectDataProvider is bound to an observable collection with the constructor calling to the database to fill the collection public MyCollection() {    MyCollection<MyObject> myObjects = GetMyObjectsFromDb();    foreach (Mark mark in marks)    {       this.Add(new ScreenMark(mark));    } } with this in the XAML <ObjectDataProvider x:Key="MyCollectionDS" d:IsDataSource="True" ObjectType="{x:Type MyCollection}"/> <ItemsControl ItemsSource="{Binding Mode=TwoWay, Path=., Source={StaticResource MarkCollectionDS}}"/> I want to be able to cause a refresh of data, ie call back to the database to get an ...Show All

  • Software Development for Windows Vista Custom Activity Approach

    I am working on a custom activity that will provide the following functionality: 1) Allow user to enter a usercontrolurl as a property 2) Allow user to enter a resource/roll as a property 3) Execute invoke method and pass the above parameters 4) Execute event sink to wait for the user to complete the page I have finished 1-3, I am stuck on 4. How could I make my eventsink trigger based on a identifer that was sent to the host in step 3, instead of a predefined event that was defined in the interface service at design time Thanks in advance. Mardo Mardo, There isn't a way to dynamically choose which event will be listened for by the EventSink activity.  Why can't the control/form raise the event defined on the int ...Show All

  • Visual Studio 2008 (Pre-release) Image UserControl will not show image

    I am creating a custom image usercontrol but I can't get the image to show. Here is the code using System . Windows ; using System . Windows . Controls ; using System . Windows . Data ; using System . Windows . Media ; using System . Windows . Media . Animation ; using System . Windows . Navigation ; using System . Windows . Media . Imaging ; namespace ImageUserControl { public partial class jlImage : UserControl { public static readonly DependencyProperty ImageNameProperty = DependencyProperty . Register ( "ImageName" , typeof ( string ), typeof ( jlImage )); public event EventHandler < EventArgs > ImageNameChanged ; publi ...Show All

  • Smart Device Development Fails to read a UTF-8 Chinese text file in C++

    Hello, I have got a txt file which stores some chinese word. When I use the code below to read the txt file. I got some strange and wrong words (like, square, circle..). Second, my txt file is start from a "4", however, I found the result in the code below is "XXX"4. I guess the "XXX" is the BOM in UTF-8. Then, how can I get remove the "XXX". Thanks alot DWORD dwBytesWritten; HANDLE hFile = CreateFile(TEXT("\\Program Files\\XXX.txt"),GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); DWORD dwFileSize = GetFileSize(hFile,NULL); CHAR *pszFileBuffer=(CHAR*)LocalAlloc(LPTR,dwFileSize); ReadFile(hFile,(LPVOID)pszFileBuffer,dwFileSize,&dwBytesWritten,NULL); mb ...Show All

  • Visual Studio Visual Studio Hangs when adding a web project

    Hello, I am attempting to add a specific project to a solution (this is the only one it happens with, all others are fine on the same box) and it hangs and I have end the devenv.exe process. I NEED to get into the code and our other developer is able to acces it fine. Any suggestions Thanks! Jamy Well our site is programmed in ASP (Classic) and SQL Server 2000. I am the new database specialist (with some web development thrown in) and am just trying to document as this is my first week. I can't even access the files for the site I mentioned that hangs. As an aside, I am attempting to use an existing project file but our other developer uses it and accesses it okay. Let me know and thanks! J ...Show All

©2008 Software Development Network