Kartit's Q&A profile
Community Chat Help please
How can i create any password to my USB (flash drive) without using any software! is it possible thanks jovert wrote: How can i create any password to my USB (flash drive) without using any software! is it possible thanks ...Show All
Visual J# Can J#redist be installed in WinCE?
and if so, any significant limits thanks - dave Is there any way around this We have some customers who desperately want Windward Reports on WinCE but we must have J# to port it. Or will you have a .NET CF version of J# soon We have a potential customer who wants our reporting solution very very badly but it has to run on WinCE. thanks - dave ...Show All
SharePoint Products and Technologies Runtime Error
Hi, This afternoon while browsing through my WSS suddenly Runtime Error comes out. I tried to access Central Admin, but no luck, the error still there. When I check eventvwr, thre are 1 Net warning id 1310 and 1 WSS search error id 2424. I tried to reapir .net and wss installation but problem still there. Anyone can help For my case I'm having problem with my WSS not MOSS. What I mean by WSS Setup is the setup of WSS. Because once you run the setup the configuration wizard will show up, you just select repair option. I'm not sure the solution for MOSS but you can have a try. Thanks. ...Show All
Visual Studio 2008 (Pre-release) GroupStyle and WrapPanel
I'm trying to display a list of grouped items in a WrapPanel under a header with the name of the group. I ended up with this XAML for the group style of the list box containing the data: <ListBox.GroupStyle> <GroupStyle> <GroupStyle.ContainerStyle> <Style TargetType="{x:Type GroupItem}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type GroupItem}"> <StackPanel> <TextBlock Text="{Binding Path=Name}" /> <ItemsControl Margin="10"> <ItemsControl.ItemsPanel> <Item ...Show All
SQL Server SQL CE top/limit, unable to find WORKABLE solution
Hi all, I'm being driven to distraction by my inability to find a workable solution here, i'll try and lay out my problem as simple as possible: My application analyses sentence structure, it stores hundreds of thousands of web pages, and stores all the words on those pages sequentially in a database with a primary id, the id of the page the word is from, and the word itself of course. ie : id , parent_id , word What i'm trying to do (which already works successfully in both SQL and MySQL) is to retrieve the word immediately before the one I specify and 3 words after the word I specify. Ideally in one union query but i'll accept it if that's too complex and go for two for now. Because of the sheer size of the database ( millions of keyword ...Show All
Visual Studio 2008 (Pre-release) can't install nor uninstall Beta2
hi everybody since last week i am unable to do anything with WinFX beta2 I began with FebruaryCTP : all was fine I upgraded to Beta2...after uninstalling using standard uninstall and the uninstall tools. for some unknown reason WCF didn't install and since then it s a nighmare !! I tried everything...read all the posts here and here....nothing succeed.. right now : uninstall tool says : can t uninstall some components...check you have admin rights (I try to translate as the message is in French...) I have admin rights so the problem should be elsewhere... if i try to install again, there is a message : PerformanceCounterInstaller.exe has encountered an error and it ends... i don t know what to do....except perhaps formatting my hard drive ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Unable to render mesh
Hello there, guys! I've a little problem with Direct3D9. I'm following a book written by Jim Adams, called "Advanced Animation with DirectX" This book show you how to extend the classes D3DXMESHCONTAINER and D3DXFRAME, and using them to render meshes. Now i'm trying a my example, that you can see here http://phpfi.com/182098 But there are some problems: At first, the mesh is not rendered, i've tryied so much position with camera but nothing i can't find it., but the Device->Clear works... I'm also using a simple shader, here is it... float4x4 matWorld; float4x4 matView; float4x4 matProj; float4x4 matTotale; texture TextMesh; sampler2D STextMesh = sampler_state { texture = <TextMesh>; MIPFILTER = linear; ...Show All
Visual Basic An unhandled exception of type 'System.InvalidCastException'
Hello all. I’m trying to learn vb.net at home. I have a book with exercises and now I’m stuck because of this error: An unhandled exception of type 'System.InvalidCastException' occurred in microsoft.visualbasic.dll Additional information: Cast from string "233.3" to type 'Decimal' is not valid. So there is code from a book: Private Sub btnCalculate_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles btnCalculate.Click Dim dOrderTotal As Decimal Dim dD ...Show All
Visual C++ Never got PBT_APMBATTERYLOW in WM_POWERBROADCAST
I try to save my application data when computer get a low battery; LRESULT CPowerTestDlg::WindowProc(UINT message, WPARAM wParam, LPARAM lParam) { if (message == WM_POWERBROADCAST) { switch (wParam) { case PBT_APMBATTERYLOW: .... break ; default : break ; } } The problem is: I never get PBT_APMBATTERYLOW by wParam When I debug, I found wParam is always PBT_APMPOWERSTATUSCHANGE Anybady got this problem too For Such issues, please use the win32 dev newsgroups at http://msdn.microsoft.com/newsgroups OTP Thanks, Ayman Shoukry VC++ Team ...Show All
Visual C# What is the maximum literal address for a local file?
I thort it was 255 but when tried I found it only == 248 CHAR full LITERAL filename & path string length!!! How do I determine what the user can enter before submitting it to the OS as the intended filename Yup thanks Peter they use a literal so I can too but I need to find out how much of that literal has been used up so far, any ideas on how I should do that ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I cannot compile any XNA tutorials
I have Microsoft Visual C# express and XNA Game Studio Express, but when I create a new project and follow the tutorial (any tutorial) and copy and paste the code into a new project, i cannot compile because there are errors when i press F5. Example in tutorial 1: displaying a 3d model on the screen i follow all the directions and when i copy and paste the code at the end and hit f5 i get the first error in this line: myModel = content.Load< Model >( "Content\\Models\\p1_wedge" ); and i cannot continue. I have tried several tutorials in the past weeks and none run. I need help for doing this for school. Thanks _Fling_ wrote: I'm having the same problem. Where does the comp ...Show All
Visual Basic Hotkey
Hello all, I have made an application and I want my user(s) to access it using a hotkey. How exactly do I go about doing this Do I do this during program installation and have some sorta script install the hotkey into window. or can I include some code into my application Thanks! http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=573928&SiteID=1 hope this helps ...Show All
Visual Studio 2008 (Pre-release) Rolebased Security & controls
Hello, For my WPF application, I need to use rolebased security to: a) Disable buttons b) Make controls readonly or read/write I'm planning to use an access matrix for each role. Each control has a boolean that indicates if it is enabled or if it is readonly. It just seems like a lot of work, and lot of binding code (in xaml-binding and cs-properties). aya-yaya... Is there a way out of this Is there a better approach Thanks Houman Mike, Embedding role-based security concerns into commands would definitely centralize that aspect of an application's UI. That's a great idea. How do you see attached properties fitting into that design I suppose that Houmann's scenario would r ...Show All
Visual Studio Express Editions How to convert char string to Unicode?
Hi -- I'm looking for a simple way to convert an ASCII string to Unicode. More specifically, I've got a function that starts out... int main (int argc, char *argv[]) And I need argv[1] converted to Unicode because I want to feed that string (it's a file name) to a Win32 API call SetNamedSecurityInfoW, which requires a filename (logically) but needs it in Unicode. I have tried using MultiByteToWideChar, but it doesn't like my argv[1]. Any help would be much appreciated. MultiByteToWideChar requires the target (pwszFileName) to be writable - LPCWSTR is equivalent to const unsigned short* (or const wchar_t*) - which is not writable. You should declare pwszFileName as LPWSTR not LPCWSTR. Note: ...Show All
Internet Explorer Development Windows Vista and ActiveX registration
Hi all, I was hoping that the new Windows Vista could allow me to install our .ocx plugin on IE7 after IEInstal.exe allowed installation and it does not seem to work. I am using VS 2003 After reading http://msdn.microsoft.com/library/default.asp url=/library/en-us/IETechCol/dnwebgen/ProtectedMode.asp many times I would except the following scenario : 1- our activex is not installed 2- standard user browses a web page where our tag starts the downloading of our installer (lets call it installer.exe) 3- a prompt appears requiring administrator login and pass 4- installer.exe creates our destination folder (with low integrity level) and copy the embedded ourplugin.ocx file in the destination folder then 5 installer.exe ...Show All
