Zulkhairi's Q&A profile
Visual Studio Express Editions Editing check boxes and such while not in that form
Is there anyway I can change the status of items on another user control, like I am on page 3, but i want to change the status of a check box to checked on page 2, is there anyway i could do that without actually being on page2 you would need a reference to page 2, so pass that reference into the constructor and store it locally in page 3 and make that control public but rather should make a public property in page2 which page3 calls and sets the value of that checkbox http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=777222&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=700821&SiteID=1 ...Show All
SQL Server T-SQL without cursors
Hi there, Say i have a table with the following structure: Store Customer OrderNo 1 1 100 1 1 201 2 2 122 2 2 223 2 2 222 2 3 333 Is there an easy way to select sequences as below per Customer without using cursors Store Customer OrderNo TransNo 1 1 100 1 1 1 201 2 2 2 122 1 2 2 223 2 2 2 222 3 2 3 333 1 Thanks create table CustomerOrder ( Store int, Customer int, OrderNo int ) Go Insert INto CustomerOrder values (1,1,100) Insert INto CustomerOrder values (1,1,201) Insert INto CustomerOrder values (2,2,122) Insert INto CustomerOrder values ( ...Show All
SQL Server Can I setup a Global Public View in SQL Server ?
I need a master view that gets data from different DBs located on the same SQL Server (similar with Oracle feature that allows to get data from different schemas). Is it possible to create such a view Thanks Yes you can do it: Create view my_view as select * from database1.schema3.table3 join database2.schema5.table6 on .... union database3.schema5.table8 Keep in mind that if you are going to grant select privileges on this view to a specific user/role, you must grant same privileges on all underlyeing tables. To make things simpler you can also create synonyms to that tables, like in Oracle, but you have to qualify whem with database names. ...Show All
SQL Server Row Groups displayed adjectsent and not inside one another?
I'm trying to do something that I thought would be simple. I want to display numorous rows with numorous Columns. Now, the columns are not a problem, its the rows. A table only lets me put one object from a dataset into a row, and if i put more then one , it does one of the first, and then one of the second, one of the first and another one of the second. Or it will group them in eachother. I dont want that. I want something like this. Weather Condition (Header) Fatalities Injury Clear 154 Fog 1548 212 Rain 1545 154 Snow 98 Sleet 2846 Totals (Footer) 78920 Type of Crash (Header) Angle 1525 Animal 1525 Fixed Object ...Show All
Gadgets Help test the screensaver gadget
Before releasing this to the masses, I was wondering if a few of you could go ahead and install my gadget and see if it works. It works on my machine but may not on someone else's if things don't register correctly. The gadget is a simple screensaver gadget that embeds a screensaver that you choose into its window (see http://blogs.msdn.com/photos/markhsch/picture1718045.aspx for a screenshot of it using the Ribbons screensaver). If you install it and it displays a white window with a red x, remove the gadget and re-add it to the sidebar to see if it goes. If you do test, please post on this thread with your results (either positive or negative). Thanks and here's the link: http://www.schmidt6.com/blogfiles/ScreenSaverGadget. ...Show All
Visual Studio what is the difference between .sln and .vbproj?
hi, what is the difference between .sln and .vbproj many thx hunb HI, Strictly speaking you must uninstall and reinstall your program to be able to update the exe. But for me, if the changes involved are strictly in the .exe file then you can just overwrite the exe in your installation folder. cheers, Paul June A. Domag ...Show All
Smart Device Development PDA Device throws exception
I am developing a chat application using bluetooth, first i made a sample application where classes that i used to read & write the Com port were part of the application.It was working fine After that i pick the classes & put them in a dll & create reference of that dll in my final application. But here on one of mine HP PDA i am getting error. it is that whenever i pass the recieved data from dll to the application the Data comes to the application function, here if i show that data using Messagebox, it shows that data, but if i try to put that data in a text box, it gets hung. . It Works fine with other PDA. Please help me to find out a good solution. Please see this, items 7, 9 and 10: http://www.danie ...Show All
Visual Studio Express Editions Grab the users AD name
Is there a way to grab the users Windows name I am on a company Active directory. I just want to display this in my application. Like welcome john doe! and latter do some authenticaion with this. thanks Who deleted my post noting that Amedilyas has been marking his own posts as answered even when the Answer in incorrect I saw this happen last night. ...Show All
Visual Studio Express Editions how to build a web browser in build flash player like opera
hi pls respond me quickly i also like how can we add tab at run time that is allowing the user to view more pages in web browser hi reneec, I was using a new control(i will about the control after). in with it allows add tab at runtime and now i am trying it successfully function or not within this week i will give the full details ok.. ok ...Show All
Visual Studio Express Editions How To Open Window In Internet Explorer When we click on link on any website
I am developing application which downloads file from internet. I want to know that how to open a window in internet explorer in any website when user clicks on any link. Thanks in advance Regards Ketan Hi, Ketan Could you tell me where is the links be located as you mentioned Did you use the webbrower control or just a linklabel or something else If you use linklabel, just program in the LinkClicked event to open a url in the browser. For example: private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { &n ...Show All
Visual Studio Express Editions Problems with filling a combobox in combination with SQL
Hello everyone m very new with vb , so i hope you all understand me. I have a Datagrid, Tableadapter,Combobox. The connections with sql are all open Table is use with it : Drinks Now i have a combobox that i wanna fill with flavours like, strawberry,kiwi's etc. But when i want to insert data into the Flavour Column it saying it doesnt allows null values, cause i need to fill in the whole table Here s my table DrinkID Brand Flavour Price So i need to fill everything in like Brand and Price, but i only want a list from the Flavour Witch people can select with adding a new Drink. And when i try to create a collection list it doesnt transfer it into the database So i hope your guys understand my situation ...Show All
Visual C# .NET Framework and compatibility
Goodday, lately I've been programming an MMORPG in another programming language. Anyway, I'd like to learn a new and more adult programming language right now, and it seems Visual C# fits perfectly for this. But there's one question that still stops me from completely getting into C# learning; the .NET Framework. The disadvantage is that a person who wants to run my program will need to have the framework installed, and this is quite irritating for an MMORPG. I've been trying some out and untill now I didn't find anybody having .NET Framework 2.x on their PC yet (except me of course). It seems they don't receive it automatically using the automatic Windows update. It would be quite irritating to ask all my clients to download another 20mb ...Show All
Game Technologies: DirectX, XNA, XACT, etc. levels
how would i make my own level in XNA ...Show All
Software Development for Windows Vista Trying to Optimize Decoder Filter
Hi, I have written a screen capture encoder/decoder that works quite well. One problem that I have is the amount of data that my filter generates, a 1024x768x32bpp screen will create 3MB of an output sample. What frustrate me is that only a small amount of data has changed on the screen but I need to copy all the data each time to the output sample. Is there a different way Some way that I will decode my frames directly onto the output samples can DX-VA help in any way Regards, -Shay. 10x for the replay, I encounter the AM_GBF_NOTASYNCPOINT before and the documentation stated that I should call this flag only if the frame is not changed, which is not the case that I'm dealing with. The problem that I have ...Show All
SQL Server Problem with size of text of title of column.
Hello : In a title of a column of a table, I put a too long text, with sorting, but when I spread (display) the report has a problem on text of the title of the column there. The probleme settles (arises) when I activate the sorting to post (show) the image of sorting. How to fit the size of the cell to the text Thenk's. ...Show All
