JackStri's Q&A profile
Visual Studio Tools for Office publish methd -->The customization does not have the required permissions to execute.
hi every one, I'm trying to run the benefits registeration example on my machine but I keep getting this error when I try to open the *.doc from IE The customization does not have the required permissions to execute. I tried to republish the BenefitForm incase it was using Absolute Paths. but that did not change anything. I tried uploading a new *.doc but also got the same error Using .Net Framework 2 configuration tool , I gave Full trust to the path \BenifitsRegisteration\CS\BenefitsPortal\Forms\* under user,machine and enterprise but still got the error. From the file system, Double clicking on BenefitForm.Doc at \BenifitsRegisteration\CS\BenefitsPortal\Forms works fine but double clicking on Fit ...Show All
Software Development for Windows Vista Unable to Import System.Workflow in aspx.vb page
this simple but I just cant make it out... Was wondering why I cant import System.Workflow in an aspx.vb file. I did add Reference to System.Workflow.Activities, .ComponentModel & .Runtime ... any clue thanks moredotnet What problem are you having Are you getting some error I am able to add the following to an aspx.vb without getting any errors: Imports System.Workflow ...Show All
Windows Forms MaskedTextBox
I am trying use the new Windows.Forms.MaskedTextBox control (new for .NET 2.0) with a mask type of Short date (00/00/0000). the problem is that when i pull a date value from SQL Server, the mask fails. For example if SQL returns 6/10/2006, the maskedtextbox displays 61/02/006. I tried to replace 0 in a mask with 9 (optional number), still the same problem. This is how i format date in code: if (clientDetails.Tables["Clients"].Rows[0]["AuthCodeStartDate"]!=null ) { AuthCodeStartDate.Text = String.Format("{0:d}", Convert.ToDateTime (clientDetails.Tables["Clients"].Rows[0]["AuthCodeStartDate"])); } Thanks for the help! Marek. If you want to use culture, th ...Show All
Visual Basic getting binary from file
Private Function TextFromFile( ByRef fInStream As String ) As String Dim i As Integer Dim strText As String i = FreeFile strText = "" FileOpen(i, fInStream, OpenMode.Input, , OpenShare.LockWrite) System.Windows.Forms.Application.DoEvents() strText = StrConv( InputB (LOF(i), i), vbUnicode) --- this is the original code strText = My .Computer.FileSystem.ReadAllBytes(i) ---- I just added this to try FileClose(i) TextFromFile = strText End Function I just converted this code from mVB6 to 2005.net, but you will see a one of the functions don't exist any more (inputB), which is grabbing the binary info from a text file. I attempted to do the same ...Show All
SQL Server Process AS2000 Cubes in SSIS
Hi, I would like to process an AS 2000 cube in SSIS. I'm using the 'Analysis Services Processing Task', but I just get the error 'A connection cannot be made. Ensure the server is running'. It would be an unfortunate limitation if you can only process 2005 cubes in SISS. Does anyone know if its possible to process 2000 cubes in SSIS Many thanks Jeremy 'Analysis Services Processing Task' works against AS 2005 only. There is no built-in task to process AS 2000 objects. You can try the Script Task and write code that will send the process request to a AS 2000 server Regards, Ovidiu Burlacu ...Show All
Visual Basic I need help with some clicking functions
Hello, I'm a newbie with VB and I'm trying to create a RightClick function for a macro program I'm making. So far I've gotten my LeftClick function to work, but I do not know how the RightClick works. This is what I'm using for my LeftClick function: Private Const MOUSEEVENTF_LEFTDOWN = &H2 Private Const MOUSEEVENTF_LEFTUP = &H4 I just need to know what to replace &H2 and &H4 with. Thank you. ...Show All
Visual C# Out Parameter's Problem
It complains that out parameter must be set to a value before returning. But didn't I already set paraIsArticleListOut in the if block and before the block How to fix it public bool IsArticleList(string paraColid, out bool paraIsArtilceListOut) { try { .................. bool pa ...Show All
Internet Explorer Development IE 7 - scrolling jumps
Is there a default setting I can change in IE7 that will stop the jumping when I try to scroll using a mouse wheel It's almost as bad as what I see when I'm connected remotely to another machine. Thanks, R. Hill I uninstalled the logitech software and driver for the mouse and now using the XP driver. If you know your model of mouse you could try updating the driver from logitech, they have them to download on their website. The XP driver works for me, I'm not looking for an additional features from the mouse at the moment and you still can adjust settings via the control panel. Simon ...Show All
.NET Development how to zip an Xml Document
Dear All, I found a library (name Chilkat ) through which i can easily zip(compress) xml file, but it has only 30 days evolution period, could any one please show me way how to compress xml. thanks Hi, if you are using .Net 2.0 or up then you can use the System.IO.Compression namespace to compress your xml, see: http://msdn2.microsoft.com/en-us/library/system.io.compression(VS.80).aspx Mark. ...Show All
Visual Basic JIT Debugger Error message caused by filelistbox
I have been working on a program and testing it on another computer that has the .Net framework installed. My program works fine on my computer with .Net installed. However, when I run it on the other computer (with only the framework installed) I get a random error: MyApp.exe - Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process id=0xf3c (3900), Thread id=0xf64 (3940). [The numbers in this error line are different everytime] When I hit cancel to debug it displays MyApp.exe - No debugger found. Registered HIT debugger is not available. An attempt to launch a JIT debugger with the following command resuled in an error code of 0x2 (2). Please check co ...Show All
Visual Studio Express Editions Linker error relating to RegCloseKey
I am attempting to set up my machine to run Visual C++ Express Edition 2005. I have d/l the SDK (Microsoft Platform SDK for Windows Server 2003 R2). I have a basic application that includes windows.h and winreg.h. I am attempting to read the registry. However, every time I build, I get the following linker errors: test2.obj : error LNK2028: unresolved token (0A000010) "extern "C" long __stdcall RegCloseKey(struct test2::HKEY__ *)" ( RegCloseKey@@$$J14YGJPAUHKEY__@test2@@@Z) referenced in function "private: void __clrcall test2::Form1::anotherMethod(void)" ( anotherMethod@Form1@test2@@$$FA$AAMXXZ) test2.obj : error LNK2028: unresolved token (0A000012) "extern "C" long __stdcall RegQueryValueExW(s ...Show All
Visual Studio 2008 (Pre-release) XAML: setting BitmapImage.UriSource from binding doesn't work
The following should display a picture for a list box item: <Window.Resources> <DataTemplate x:Key="ImageTemplate"> <Image> <Image.Source> <BitmapImage UriSource="{Binding}" /> </Image.Source> </Image> </DataTemplate> </Window.Resources> <Grid> <ListBox> <ListBoxItem ContentTemplate="{StaticResource ImageTemplate}"> C:\picture.jpg </ListBoxItem> </ListBox> </Grid> ... but I get an exception: "Property 'UriSource' or property 'StreamSource' must be set." Simply using <Image Source="{Binding}"/> would work in this example, but I want to use the BitmapImage f ...Show All
Visual Studio Team System Schema Compare in the RTM version
Currently (CTP5) we're able to synchronize a DB project with an actual database. Does anyone know if we'll be able to do the reverse when VSTS-DB is released IOW, will we be able to synchronize an actual database with a project I very much hope so. I think this will be a tremendous time saver. Amos. If it works this way that will be great. What I'm looking for is a way to avoid having to modify the .SQL files in my project directly (too tedious and error prone). I would much rather modify my local database schema and then synch that schema back to my project, thus avoiding having to modify any files directly. Of course, in order for this to work, the schema compare process will have to be able to handl ...Show All
SQL Server Debug is greyed out?
I know there's a trick to this, that I can't figure out. Have an SSIS package that I developed and deployed/saved( ) to a file on the SSIS server. Now I need to change the data flows. Did that, no issues, lets me resave the file, but I can't debug or execute the package so I can test what I did is right Why is the debug drop down box greyed out There's gotta be something I'm missing here. THanks, Lezza Was there a published resolution to this I'm now encountering a similar situation. Right clicking in the Data Dlow design space used to popup a menu with 'Execute Task' (or something). I can't remember exactly what it was as the damn thing doesn't appear any more... I've bee ...Show All
Visual Studio Express Editions Syntax Highlighting
Hi, I would like to make a text editor in VB.NET Express Edition. One of my biggest problems so far is getting syntax highlighting to work in a rich text box. I have no idea how to do this. Any suggestions or tutorials would be wonderful! There maybe many threads about this here on this forum so do a search as well and see what comes up. you will be using the Select() method to select the text, then color it using the SelectionColor property I guess for every keypress event, you will be checking to see if they pressed a "space" bar, then get the previous words and highlight it, assuming that the word is in your "special words" collection - well, that is the theory ...Show All
