VB Newbie's Q&A profile
Windows Forms Problems downloading ClickOnce deployment
The users of my ClickOnce app are having trouble downloading it. Here's an sample log. I saw something like that myself once, and the problem went away after I deleted my temporary internet files. (But I can't ask my users to do this...) Any idea how to fix this from my end Thanks! PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : file:///C:/internet/dn ...Show All
.NET Development FileSystemWatcher Service doesnot detect changes when folder containing the file is deleted.
I am using the FileSystemWatcher Service to monitor xml files within sub folders in a root folder. The problem that I am having is that when I delete the folder within the root folder which contains the xml file, the delete event does not seem to be fired. It works fine when I delete the xml file itself. here is the code. Please let me know what I am doing wrong. watchfolder.Path=WEBDest; watchfolder.IncludeSubdirectories = true ; watchfolder.Filter="*.xml"; //watchfolder.NotifyFilter = NotifyFilters.LastAccess | NotifyFilters.LastWrite //| NotifyFilters.FileName | NotifyFilters.DirectoryName | NotifyFilters.Siz ...Show All
SQL Server Getting error in SQL Server Destination
Hi I have two different database say, DB1 and DB2 one in server A and another one in Server B. Simply select all rows from DB1.Table1 in OLEDB Source and map it to another table in DB2.Table2 using OLEDB Destination. Works fine. But if I select destination as SQL Server Destination, I am getting the following error: [Insert contact information for facility into ARBilling database [202]] Error: An OLE DB error has occurred. Error code: 0x80040E14 An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80040E14 Description: "Could not bulk load ...Show All
.NET Development VS2005 XSLT Debugging with external functions?
Hi Currently we use visualxslt a plugin that does xslt debugging in vs2003 but from the look of it vs2005's version works a little nicer but.. . We extensively use EXSLT.net, which is a custom xslt processor that inherirts the .net one and adds new functions for xslt. It there anyway to get VS2005 to use this custom assebly to debug with Thanks Brian Norman We will be releasing EXSLT.NET for .NET 2.0 really soon, in a week or so. Then you will be able to debug your stylesheets in VS 2005 for sure. Obviously you would need to start debugging from code, by stepping into Transform() method. ...Show All
Windows Forms TreeVeiw problem
Hi, I have a UserControl that contains a TreeView(with nodes) , a TextBox and a Button, I want that when you click on the button you would add a new TreeNode under the selected node that it's name is the text of the TextBox. I have tryed a lot but no success, I need som code, thanks Hi, in the designer double click on the button to add an onclick event handler, then in that handler function create a treenode and add it under the selected node: TreeNode newTreeNode = new TreeNode(); newTreeNode.Text = "Hi"; // let's check if we have a selected node if (treeView.SelectedNode != null) // yes we ...Show All
Windows Forms Registry free COM
Hi, I am interested in finding out more about "registry free COM" which is briefly mentioned in the FAQ, but nowhere else that I can find. Is this a technique only available with ClickOnce (the FAQ mentions it is supported on Windows XP and later) and are there any tools I can use, or do I have to install the VS.NET 2005 beta Thanks, Ow ...Show All
.NET Development ADOX column properties
Can anyone please provide c# example for the following vb ADOX code Set tbl = New ADOX.Table With tbl .Name = "Artist" .ParentCatalog = cat .Columns.Append "Artist_ID" , adInteger .Columns( "Artist_ID" ).Properties( "AutoIncrement" ).Value = True .Columns( "Artist_ID" ).Properties( "Nullable" ).Value = False End With I know there is no "with" equiv, but there has to be a way to do this I just can't seem to find it Something like myTable.Columns[myColumn].Properties["Jet OLEDB:Allow Zer ...Show All
.NET Development first e/r or classes
Can I make my E/R and then generate my classes Do you know a tool that generates this for me Hello thanks for your answer it has been the most complete until now. Can we talk by messenger, If so pleasee add me luise.valencia at gmail dot com. I saw that you used Icollection, i didnt know that it even existed, do you know any tutorial for designing good classes in c#. I know now that I must make first my class diagram and then I must translate it to my e/r model. Thanks again. I hope I can talk to you directly. ...Show All
Visual Studio 2008 (Pre-release) Avalon Beta with Current Visual Studio Relase
Hello, Can I use Avalon with current Visual Studio Release (Express or Professional). Thanks, Mustafa ELBanna Hi Arik, On a related note... I'm having a problem with the Nov CTP on VS2005 whereby when I run a very basic application all I get is a black screen in a browser window. It seems to work on a fresh reboot (sometimes) and will not work again. I'm noticing others having the same problem... http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.windows.developer.winfx.avalon&lang=en&cr=US Any clues ...Show All
Visual Basic Problems with Batch file
Hi at first THX for your elp with the New Lines. I created a Batch File like this: My .Computer.FileSystem.WriteAllText( "C:\modelcompiler.bat" , " cd sourcesdk" & vbNewLine & "bin\studiomdl ..\sourcesdk_content\sourcesdk_content\hl2\modelsrc\" & file, False ) The text works, but when I try to run this File a weird text comes up in the console: "Der Befehl ist entweder falsch geschrieben oder konnte nicht gefunden werden" Is german and means that this command couldn't be found, but when I type it without a Batchfile in the Console it works. I hope That you can help me. Kyle Katarn ...Show All
Visual Studio Team System Team Foundation Server setup: where to find?
I cannot find TFS setup files at the Microsoft | VolumeLicensing (we have "all" MS licenses) site. The best match is "VStudio Team Suite 2005 Win32 English Disk Kit MVL CD"; but there is nothing about Team Foundation Server... I'm not entirely sure I understand the question, but if you have access to MSDN subscriber downloads, you can find it under Developer Tools -> Visual Studio 2005 -> English -> Visual Studio 2005 Team Foundation Server -> Visual Studio 2005 Team Foundation Server - Beta 3 Refresh. Buck ...Show All
SQL Server How to search all columns in a table at once?
This is a true newbie question. I want to search an entire table for a string. Is there a way to do the equivalent of: SELECT * from <db.table> WHERE(*) LIKE '%<some string>%' The WHERE(*) is my attempt to say search all columns. That's apparently not legal in SQL so my question is whether there is a legal way to do it without have to spell out the names of all the columns. This is sort of equivalent to doing a Find on a string in a text editor. Or maybe a better analogy would be to say that it's like doing a Find on a string in a spreadsheet. Here's the format you can use... SELECT * FROM myTabl ...Show All
Visual Studio Unable to access local MSDN content
I've installed VS2005 from the VSTS beta 2 download. I installed to a newly-configured Virtual PC with XP sp2, avoiding installing the testing tools so I could get around error 2337. I then installed program documentation. After install, I can not access the local MSDN content. If I try to launch from start, I get the message "Microsoft Document Explorer cannot be shown because the specified help collection 'ms-help://MS.MSDNQTR.v80.en' is invalid." If I try to launch from within the IDE I get "Help on Help" content only. I've tried uninstalling and reinstalling from the setup | install documentation ...Show All
Architecture Are interfaces for behavioral overloading only?
This question comes from the new approaches being suggested when designing services with WCF and even ASMX 2. The approach is one that uses interfaces (or abstract classes) to focus on the method signatures and avoid diving directly into implementation when desiging services. This looks like a half-way contract first approach that is meant to help developers focus on what makes a service reusable (strong typing, message orientation, explicit method naming, etc...). Ok now my question is does this then take the concept of interface inheritance and cloudy it some. I personally favor the idea but I have a hard time convincing the OO guys tha ...Show All
.NET Development custom developed windows service would not start
I have developed a windows service using .NET and installed it on a windows 2003 machine. When I try to start it using the Admin tool>>Services window... it gives me the message "the <<service name>> service on Local Computer started and then stopped. Some service stop automatically if they have no work to do, for example the Performance logs and Alert Service." The service in question has to Access the VSTS database and send notifications. Can anyone help me with this Hi saif, this type of message usually occurs when there is not has been added in OnStart() event of wi ...Show All
